aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/session-menu-mgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session-menu-mgr.c b/src/session-menu-mgr.c
index 22f70e5..c406009 100644
--- a/src/session-menu-mgr.c
+++ b/src/session-menu-mgr.c
@@ -990,6 +990,7 @@ update_user_menuitems (SessionMenuMgr * mgr)
for (l=mgr->user_menuitems; l!=NULL; l=l->next)
{
dbusmenu_menuitem_child_delete (mgr->top_mi, l->data);
+ g_object_unref (l->data);
}
g_slist_free (mgr->user_menuitems);
mgr->user_menuitems = NULL;