mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fix memleak in cons_alert()
Close https://github.com/profanity-im/profanity/issues/1427
This commit is contained in:
parent
3d082bfb66
commit
f12161f190
@ -2410,6 +2410,8 @@ cons_alert(ProfWin* alert_origin_window)
|
||||
if (!item) {
|
||||
alert_list = g_list_append(alert_list, win_name);
|
||||
}
|
||||
|
||||
free(win_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user