From d37ec4b473b4191f871a02fbb04d915a222ae5ba Mon Sep 17 00:00:00 2001 From: Monsta Date: Thu, 6 Nov 2014 13:26:30 +0300 Subject: don't leak memory --- mate-panel/launcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mate-panel/launcher.c') diff --git a/mate-panel/launcher.c b/mate-panel/launcher.c index d569e757..4928fa34 100644 --- a/mate-panel/launcher.c +++ b/mate-panel/launcher.c @@ -466,7 +466,7 @@ create_launcher (const char *location) g_error_free (error); g_key_file_free (key_file); - + g_free (new_location); return NULL; /*button is null*/ } -- cgit v1.2.1