1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

Merge pull request #1384 from l2dy/memory

core: fix memory leak in case of error
This commit is contained in:
Sébastien Helleu
2019-07-31 22:51:12 +02:00
committed by GitHub
+1
View File
@@ -923,6 +923,7 @@ gui_bar_window_content_get_with_filling (struct t_gui_bar_window *bar_window,
if (content)
free (content);
free (split_items);
free (linear_items);
return NULL;
}
content = content2;