From a386f61de88792cdcd1d8f7ac8fed036fadd02d2 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 16 Feb 2005 16:18:36 +0000 Subject: unref the menu icon if it exists to fix a leak 2005-02-10 JP Rosevear * e-component-registry.c (query_components): unref the menu icon if it exists to fix a leak svn path=/trunk/; revision=28804 --- shell/e-component-registry.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/e-component-registry.c') 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); -- cgit v1.2.3