[epiphany] ephy_web_view_load_error_page: fix GtkIconInfo leak
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [epiphany] ephy_web_view_load_error_page: fix GtkIconInfo leak
- Date: Mon, 17 Sep 2012 07:00:36 +0000 (UTC)
commit ce03b41e127d730479d124091e305e99e4fd7e17
Author: Pavel Vasin <rat4vier gmail com>
Date:   Thu Sep 13 11:19:18 2012 +0400
    ephy_web_view_load_error_page: fix GtkIconInfo leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683929
 embed/ephy-web-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index a654532..82b8554 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
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]