core: fix memory leak in case of error
This commit is contained in:
parent
93cd05bdd8
commit
acbf021330
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user