[gtk+/wip/baedert/gtkimageview: 75/96] demo: Plug a leak



commit 6c671fb8a82f8751d59bddd7ec002423501ee931
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]