summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2014-10-13 18:40:16 +0400
committerStefano Karapetsas <[email protected]>2014-10-16 08:47:44 +0200
commitfe814c53964746c20e9c113ff9dcbfc6a9634f0e (patch)
tree1babd0062f248493851fa9f4311cec896d541fd2
parent5130d8ed49b420e0d2c37c8e3b606e2306b356f8 (diff)
downloadmate-panel-fe814c53964746c20e9c113ff9dcbfc6a9634f0e.tar.bz2
mate-panel-fe814c53964746c20e9c113ff9dcbfc6a9634f0e.tar.xz
Fix memory leak
Closes https://github.com/mate-desktop/mate-panel/pull/244
-rw-r--r--mate-panel/panel-profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c
index d97c3354..cb334bcb 100644
--- a/mate-panel/panel-profile.c
+++ b/mate-panel/panel-profile.c
@@ -1280,6 +1280,7 @@ panel_profile_load_toplevel (const char *toplevel_id)
G_CALLBACK (panel_profile_background_change_notify),
toplevel);
+ g_free (toplevel_path);
g_free (toplevel_background_path);
panel_setup (toplevel);