diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-30 22:21:34 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-30 22:21:34 -0400 |
commit | 64b4f1394068fe1c6029e9bad3135e92303f2cd4 (patch) | |
tree | c2d9ad4f4e82f4bf6c7101db0a08c30def6bb3bd | |
parent | bb9304ef80222c41dec17418f745fdb98939da25 (diff) | |
download | ayatana-indicator-session-64b4f1394068fe1c6029e9bad3135e92303f2cd4.tar.gz ayatana-indicator-session-64b4f1394068fe1c6029e9bad3135e92303f2cd4.tar.bz2 ayatana-indicator-session-64b4f1394068fe1c6029e9bad3135e92303f2cd4.zip |
session-menu-mgr.c: don't leak user menu items
-rw-r--r-- | src/session-menu-mgr.c | 1 |
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; |