[gtk+/wip/baedert/gtkimageview: 80/135] demo: Plug a leak



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