diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-11-10 00:11:54 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-11-10 00:11:54 +0000 |
commit | 83f869b9484c775832a961287996f2e2df4b4401 (patch) | |
tree | 7f3a988719e935cba5a7c92fa0d2cc9a72b201ca | |
parent | d752d4ba896c544abb7166d9abc770ba08d6a071 (diff) |
Plug a leak
svn path=/branches/gnome-2-24/; revision=11121
-rw-r--r-- | gswitchit/ChangeLog | 7 | ||||
-rw-r--r-- | gswitchit/gswitchit-applet.c | 1 |
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); |