aboutsummaryrefslogtreecommitdiffstats
path: root/notes/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'notes/component-factory.c')
-rw-r--r--notes/component-factory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/notes/component-factory.c b/notes/component-factory.c
index f416156ba3..3f8176cc9c 100644
--- a/notes/component-factory.c
+++ b/notes/component-factory.c
@@ -43,6 +43,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih)
remote_uih = bonobo_control_get_remote_ui_handler (control);
bonobo_ui_handler_set_container (uih, remote_uih);
+ bonobo_object_release_unref (remote_uih, NULL);
toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL,
GTK_TOOLBAR_BOTH);