[gtk+/wip/baedert/gtkimageview: 61/73] demo: Plug a leak



commit 968b7136acfce0abe704e2d1be05433b20429fd5
Author: Timm Bäder <mail baedert org>
Date:   Fri Jan 22 20:50:46 2016 +0100

    demo: Plug a leak

 demos/gtk-demo/image_view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/image_view.c b/demos/gtk-demo/image_view.c
index 176daef..b41e20b 100644
--- a/demos/gtk-demo/image_view.c
+++ b/demos/gtk-demo/image_view.c
@@ -23,6 +23,8 @@ file_set_cb (GtkFileChooserButton *widget,
                                        NULL,
                                        generic_cb,
                                        NULL);
+
+  g_free (filename);
 }
 
 


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