aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-component-registry.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 270878f626..ba2880aeca 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-10 JP Rosevear <jpr@novell.com>
+
+ * e-component-registry.c (query_components): unref the menu icon
+ if it exists to fix a leak
+
2005-02-07 JP Rosevear <jpr@novell.com>
* apps_evolution_shell.schemas.in.in: clean up descriptions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index d7b1f23ec7..73df6f569b 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -229,6 +229,8 @@ query_components (EComponentRegistry *registry)
if (icon != NULL)
g_object_unref (icon);
+ if (menuicon != NULL)
+ g_object_unref (menuicon);
bonobo_object_release_unref(iface, NULL);
}
g_slist_free(language_list);