core: fix memory leak in case of error

This commit is contained in:
Zero King 2019-07-27 18:51:29 +00:00
parent 93cd05bdd8
commit acbf021330

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;