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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user