diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-10-07 22:50:24 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-10-07 22:50:24 +0200 |
commit | f12161f190e5203930aaf209079305f7f8b690d6 (patch) | |
tree | 5b3313228f9797930f4e4c03d69f3bfc3fdf848d /src | |
parent | 3d082bfb66e322e10b1e5f68aabca435285e634b (diff) | |
download | profani-tty-f12161f190e5203930aaf209079305f7f8b690d6.tar.gz |
Fix memleak in cons_alert()
Close https://github.com/profanity-im/profanity/issues/1427
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/console.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index a9966bcd..8e06b290 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -2410,6 +2410,8 @@ cons_alert(ProfWin* alert_origin_window) if (!item) { alert_list = g_list_append(alert_list, win_name); } + + free(win_name); } } |