aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--src/session-menu-mgr.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index ef1cd53..b04b591 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+indicator-session (12.10.5daily13.06.19-0ubuntu2) saucy; urgency=low
+
+ * Backport a fix for high resources usage issue, thanks Lars (lp: #1195595)
+
+ -- Sebastien Bacher <seb128@ubuntu.com> Mon, 01 Jul 2013 13:05:15 +0200
+
indicator-session (12.10.5daily13.06.19-0ubuntu1) saucy; urgency=low
[ Mathieu Trudel-Lapierre ]
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;