aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2012-03-30 09:36:28 -0400
committerKen VanDine <ken.vandine@canonical.com>2012-03-30 09:36:28 -0400
commit63d1c953172695e12b41705f7c6f1746fef9d694 (patch)
tree93e3d86a2f6de68d7b3c8fe9c1a7a6a7bd5dd95e /libindicator/indicator-image-helper.c
parent9a23466740bf7a47bf0998e830c69a245bf3b646 (diff)
parent28d27ed11c41ca6859c533e6a084c631225c9912 (diff)
downloadlibayatana-indicator-63d1c953172695e12b41705f7c6f1746fef9d694.tar.gz
libayatana-indicator-63d1c953172695e12b41705f7c6f1746fef9d694.tar.bz2
libayatana-indicator-63d1c953172695e12b41705f7c6f1746fef9d694.zip
* New upstream release.
* Fix a leaked GError (LP: #965459) * Fix memory leak when the proxy's name changes.
Diffstat (limited to 'libindicator/indicator-image-helper.c')
-rw-r--r--libindicator/indicator-image-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libindicator/indicator-image-helper.c b/libindicator/indicator-image-helper.c
index 23b08d0..6ad2a44 100644
--- a/libindicator/indicator-image-helper.c
+++ b/libindicator/indicator-image-helper.c
@@ -74,6 +74,7 @@ refresh_image (GtkImage * image)
if (pixbuf == NULL) {
g_warning("Unable to load icon from file '%s' because: %s", icon_filename, error == NULL ? "I don't know" : error->message);
+ g_clear_error (&error);
gtk_image_clear(image);
return;
}