1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Fix memleak in cons_alert()

Close https://github.com/profanity-im/profanity/issues/1427
This commit is contained in:
Michael Vetter 2020-10-07 22:50:24 +02:00
parent 3d082bfb66
commit f12161f190

View File

@ -2410,6 +2410,8 @@ cons_alert(ProfWin* alert_origin_window)
if (!item) {
alert_list = g_list_append(alert_list, win_name);
}
free(win_name);
}
}