[gtk+/wip/baedert/gtkimageview: 217/294] demo: Plug a leak



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