aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorPavel Vasin <rat4vier@gmail.com>2012-09-13 15:19:18 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-17 15:00:00 +0800
commitce03b41e127d730479d124091e305e99e4fd7e17 (patch)
tree7b9be7207ca7f80fd7b93b74b18aeba76619f769 /embed
parentd403986bea0d772bf25f629a366a4934ba70f12c (diff)
downloadgsoc2013-epiphany-ce03b41e127d730479d124091e305e99e4fd7e17.tar
gsoc2013-epiphany-ce03b41e127d730479d124091e305e99e4fd7e17.tar.gz
gsoc2013-epiphany-ce03b41e127d730479d124091e305e99e4fd7e17.tar.bz2
gsoc2013-epiphany-ce03b41e127d730479d124091e305e99e4fd7e17.tar.lz
gsoc2013-epiphany-ce03b41e127d730479d124091e305e99e4fd7e17.tar.xz
gsoc2013-epiphany-ce03b41e127d730479d124091e305e99e4fd7e17.tar.zst
gsoc2013-epiphany-ce03b41e127d730479d124091e305e99e4fd7e17.zip
ephy_web_view_load_error_page: fix GtkIconInfo leak
https://bugzilla.gnome.org/show_bug.cgi?id=683929
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index a65453224..82b85541f 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2558,6 +2558,9 @@ ephy_web_view_load_error_page (EphyWebView *view,
g_free (button_label);
g_free (image_data);
+ if (icon_info)
+ gtk_icon_info_free (icon_info);
+
/* Make our history backend ignore the next page load, since it will be an error page. */
ephy_web_view_freeze_history (view);
#ifdef HAVE_WEBKIT2