diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-07-01 14:57:43 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-07-01 14:57:43 +0000 |
commit | 4285a049fef0cfe79e57eb618405d9e298b5435c (patch) | |
tree | c2d9ad4f4e82f4bf6c7101db0a08c30def6bb3bd | |
parent | bb9304ef80222c41dec17418f745fdb98939da25 (diff) | |
parent | 64b4f1394068fe1c6029e9bad3135e92303f2cd4 (diff) | |
download | ayatana-indicator-session-4285a049fef0cfe79e57eb618405d9e298b5435c.tar.gz ayatana-indicator-session-4285a049fef0cfe79e57eb618405d9e298b5435c.tar.bz2 ayatana-indicator-session-4285a049fef0cfe79e57eb618405d9e298b5435c.zip |
session-menu-mgr.c: don't leak user menu items. Fixes: https://bugs.launchpad.net/bugs/1195595.
Approved by PS Jenkins bot, Sebastien Bacher.
-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; |