mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 16:16:21 +00:00
Fix memleak in cons_alert()
Close https://github.com/profanity-im/profanity/issues/1427
This commit is contained in:
@@ -2410,6 +2410,8 @@ cons_alert(ProfWin* alert_origin_window)
|
||||
if (!item) {
|
||||
alert_list = g_list_append(alert_list, win_name);
|
||||
}
|
||||
|
||||
free(win_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user