aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2004-07-09 06:11:22 +0800
committerXan Lopez <xan@src.gnome.org>2004-07-09 06:11:22 +0800
commit9effe14f1bb2307b4c504c8c360841dbbd539679 (patch)
tree11d6d9e07f6d2187fb7aa3338581a48704389a67
parent8b1b6fca6b46636c9234d2266ce435fba5b02cb1 (diff)
downloadgsoc2013-epiphany-9effe14f1bb2307b4c504c8c360841dbbd539679.tar
gsoc2013-epiphany-9effe14f1bb2307b4c504c8c360841dbbd539679.tar.gz
gsoc2013-epiphany-9effe14f1bb2307b4c504c8c360841dbbd539679.tar.bz2
gsoc2013-epiphany-9effe14f1bb2307b4c504c8c360841dbbd539679.tar.lz
gsoc2013-epiphany-9effe14f1bb2307b4c504c8c360841dbbd539679.tar.xz
gsoc2013-epiphany-9effe14f1bb2307b4c504c8c360841dbbd539679.tar.zst
gsoc2013-epiphany-9effe14f1bb2307b4c504c8c360841dbbd539679.zip
Plug leak, thanks to Crispin.
* embed/downloader-view.c: (downloader_view_add_download): Plug leak, thanks to Crispin.
-rw-r--r--ChangeLog6
-rw-r--r--embed/downloader-view.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 90e8a5278..ba50b2e7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-09 Xan Lopez <xan@gnome.org>
+
+ * embed/downloader-view.c: (downloader_view_add_download):
+
+ Plug leak, thanks to Crispin.
+
2004-07-08 Marco Pesenti Gritti <marco@gnome.org>
* lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb):
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index 0029c0aca..fd6611716 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -502,6 +502,7 @@ downloader_view_add_download (DownloaderView *dv,
gtk_icon_info_free (icon_info);
pixbuf = gdk_pixbuf_new_from_file_at_size (icon_name, width, height, NULL);
+ g_free (icon_name);
gtk_list_store_set (GTK_LIST_STORE (dv->priv->model),
&iter, COL_IMAGE, pixbuf, -1);
if (pixbuf)