aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-service.c')
-rw-r--r--src/indicator-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-service.c b/src/indicator-service.c
index 77d42e6..cb7e23a 100644
--- a/src/indicator-service.c
+++ b/src/indicator-service.c
@@ -255,6 +255,7 @@ server_removed (IndicateListener * listener, IndicateListenerServer * server, gc
if (sltp->menuitem != NULL) {
dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(sltp->menuitem), "visibile", "false");
dbusmenu_menuitem_child_delete(DBUSMENU_MENUITEM(data), DBUSMENU_MENUITEM(sltp->menuitem));
+ g_object_unref(G_OBJECT(sltp->menuitem));
}
g_free(sltp);