[gtk+/wip/baedert/gtkimageview: 94/169] demo: Plug a leak



commit a7715511bf8b9040b0c67031f0920ec7c805ed16
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]