From acbf0213300750d86ca5a995d34a387a61913921 Mon Sep 17 00:00:00 2001 From: Zero King Date: Sat, 27 Jul 2019 18:51:29 +0000 Subject: [PATCH] core: fix memory leak in case of error --- src/gui/gui-bar-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gui-bar-window.c b/src/gui/gui-bar-window.c index 630804f44..461ae86c6 100644 --- a/src/gui/gui-bar-window.c +++ b/src/gui/gui-bar-window.c @@ -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;