summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-03-13 12:24:25 +0100
committerAlexei Sorokin <[email protected]>2017-03-13 22:30:12 +0300
commit7a06b8bdf03e4d2df2aaa141588c84750ffac10c (patch)
tree5ea28be6346e3a1ca6dbbad2e1752e2a0f508649 /applets/notification_area/system-tray
parentd21ea913d3e294cf74fb13743ad598202301d65d (diff)
downloadmate-panel-7a06b8bdf03e4d2df2aaa141588c84750ffac10c.tar.bz2
mate-panel-7a06b8bdf03e4d2df2aaa141588c84750ffac10c.tar.xz
notification area: Fix memory leak sorting items
Diffstat (limited to 'applets/notification_area/system-tray')
-rw-r--r--applets/notification_area/system-tray/na-tray-child.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/notification_area/system-tray/na-tray-child.c b/applets/notification_area/system-tray/na-tray-child.c
index 0f4808b3..3cfaa2c8 100644
--- a/applets/notification_area/system-tray/na-tray-child.c
+++ b/applets/notification_area/system-tray/na-tray-child.c
@@ -382,6 +382,8 @@ na_tray_child_get_category (NaItem *item)
}
}
+ g_free (res_class);
+
return category;
}