diff options
author | Marco Peereboom <marco@conformal.com> | 2011-01-12 02:21:04 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-01-12 02:21:04 +0000 |
commit | 6ccd774b8e49cd7d135829c5ee37139e7ea7cb36 (patch) | |
tree | 388c9ad57d810f80b718c5ab51b309939e7e2cee | |
parent | cf0ade83424209068b3f69f0a2f4e045a459f230 (diff) | |
download | xombrero-6ccd774b8e49cd7d135829c5ee37139e7ea7cb36.tar.gz |
fix a double unref
-rw-r--r-- | xxxterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c index 02b74be..07388fd 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -4505,9 +4505,9 @@ favicon_download_status_changed_cb(WebKitDownload *download, GParamSpec *spec, switch (status) { case WEBKIT_DOWNLOAD_STATUS_FINISHED: load_favicon(t); - /* FALLTHROUGH */ + g_object_unref(t->icon_download); + break; case WEBKIT_DOWNLOAD_STATUS_ERROR: - webkit_download_cancel(t->icon_download); /* just incase */ case WEBKIT_DOWNLOAD_STATUS_CANCELLED: g_object_unref(t->icon_download); break; |