[gtk+/composite-templates] Fix a memory leak in GtkImage
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] Fix a memory leak in GtkImage
- Date: Tue, 26 Jun 2012 22:37:34 +0000 (UTC)
commit 24954312962cbd8711701adfc0f74ba90aec1188
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]