summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-11-10 00:11:54 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-11-10 00:11:54 +0000
commit83f869b9484c775832a961287996f2e2df4b4401 (patch)
tree7f3a988719e935cba5a7c92fa0d2cc9a72b201ca
parentd752d4ba896c544abb7166d9abc770ba08d6a071 (diff)
Plug a leak
svn path=/branches/gnome-2-24/; revision=11121
-rw-r--r--gswitchit/ChangeLog7
-rw-r--r--gswitchit/gswitchit-applet.c1
2 files changed, 7 insertions, 1 deletions
diff --git a/gswitchit/ChangeLog b/gswitchit/ChangeLog
index d18a7ab0c..54d780895 100644
--- a/gswitchit/ChangeLog
+++ b/gswitchit/ChangeLog
@@ -1,4 +1,9 @@
-==================== 2.24.1 ======================
+2008-11-09 Matthias Clasen <mclasen@redhat.com>
+
+ Bug 428072 – leaks bonobo ui nodes
+
+ * gswitchit-applet.c (GSwitchItAppletSetupGroupsSubmenu): Don't
+ leak the BonoboUINode.
==================== 2.24.0.1 ====================
diff --git a/gswitchit/gswitchit-applet.c b/gswitchit/gswitchit-applet.c
index 8241764ab..1464e9a1e 100644
--- a/gswitchit/gswitchit-applet.c
+++ b/gswitchit/gswitchit-applet.c
@@ -532,6 +532,7 @@ GSwitchItAppletSetupGroupsSubmenu (GSwitchItApplet * sia)
bonobo_ui_component_add_verb (popup, verb, (BonoboUIVerbFn)
GSwitchItAppletCmdSetGroup,
sia);
+ bonobo-ui_node_unref (node);
xkl_debug (160,
"Registered group menu item \'%s\' as \'%s\'\n",
verb, *currentName);