diff options
author | JP Rosevear <jpr@novell.com> | 2005-02-17 00:18:36 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2005-02-17 00:18:36 +0800 |
commit | a386f61de88792cdcd1d8f7ac8fed036fadd02d2 (patch) | |
tree | 20e15255f01dea9f091e708d5f54fd35bb6bf7a1 /shell/e-component-registry.c | |
parent | 151c978fe86913a50ccccc17d948fa130d308429 (diff) | |
download | gsoc2013-evolution-a386f61de88792cdcd1d8f7ac8fed036fadd02d2.tar.gz gsoc2013-evolution-a386f61de88792cdcd1d8f7ac8fed036fadd02d2.tar.zst gsoc2013-evolution-a386f61de88792cdcd1d8f7ac8fed036fadd02d2.zip |
unref the menu icon if it exists to fix a leak
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
svn path=/trunk/; revision=28804
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r-- | shell/e-component-registry.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |