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 | |
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
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-component-registry.c | 2 |
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); |