about summary refs log tree commit diff stats
path: root/xxxterm.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-01-12 22:58:39 +0000
committerMarco Peereboom <marco@conformal.com>2011-01-12 22:58:39 +0000
commit852153abeb3dc0fef365ea908eafe4e4762dc24f (patch)
tree203ace6edb92f54eab0c6d9f2589530579b68a75 /xxxterm.c
parent2ded302f4ba27b6d643b0a6623dfd8aca3ee3e81 (diff)
downloadxombrero-852153abeb3dc0fef365ea908eafe4e4762dc24f.tar.gz
defer freeing icon_dest_uri
Diffstat (limited to 'xxxterm.c')
-rw-r--r--xxxterm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c
index b240df7..b2444ce 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -4635,11 +4635,9 @@ favicon_download_status_changed_cb(WebKitDownload *download, GParamSpec *spec,
 		DNPRINTF(XT_D_DOWNLOAD, "%s: setting icon to %s\n",
 		    __func__, t->icon_dest_uri);
 		set_favicon_from_file(t, t->icon_dest_uri);
-		g_free(t->icon_dest_uri);
 		/* these will be freed post callback */
 		t->icon_request = NULL;
 		t->icon_download = NULL;
-		t->icon_dest_uri = NULL;
 		break;
 	default:
 		break;