[gtk+] Fix a memory leak in GtkImage



commit 4243c3a1e239c9f8e6fd5780ff8b00dcbbb4d41e
Author: Dan VrÃtil <dvratil redhat com>
Date:   Wed Jun 20 08:26:14 2012 +0200

    Fix a memory leak in GtkImage
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678175

 gtk/gtkimage.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 87285e1..5e6458c 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -365,6 +365,8 @@ gtk_image_finalize (GObject *object)
 
   g_clear_object (&image->priv->icon_helper);
   
+  g_free (image->priv->filename);
+
   G_OBJECT_CLASS (gtk_image_parent_class)->finalize (object);
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]