[gnumeric] Icons: plug leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Icons: plug leak.
- Date: Mon, 15 Apr 2013 17:43:37 +0000 (UTC)
commit 1ec387d4638beb9b2c4b1cc7818090f9774f3f24
Author: Morten Welinder <terra gnome org>
Date: Mon Apr 15 13:43:19 2013 -0400
Icons: plug leak.
ChangeLog | 2 ++
src/application.c | 1 +
2 files changed, 3 insertions(+)
---
diff --git a/ChangeLog b/ChangeLog
index 4e23ae4..4b25f5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2013-04-15 Morten Welinder <terra gnome org>
+ * src/application.c (add_icon): Plug leak.
+
* src/number-match.c (format_match_decimal_number): Try also major
non-locale currencies. Fixes #577768.
diff --git a/src/application.c b/src/application.c
index 8961820..c1977ce 100644
--- a/src/application.c
+++ b/src/application.c
@@ -757,6 +757,7 @@ add_icon (GtkIconFactory *factory,
gtk_icon_source_set_pixbuf (src, pix);
gtk_icon_set_add_source (set, src);
g_object_unref (pix);
+ g_free (res);
}
gtk_icon_factory_add (factory, stock_id, set);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]