[gnac/devel] Fixed a memory leak



commit 712d691a7b05254dda7adfee76854ace183ed69e
Author: BenoÃt Dupasquier <bdupasqu src gnome org>
Date:   Wed Jan 11 17:49:52 2012 +0000

    Fixed a memory leak

 src/profiles/gnac-profiles-utils.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/profiles/gnac-profiles-utils.c b/src/profiles/gnac-profiles-utils.c
index 9bea5a9..ee816e9 100755
--- a/src/profiles/gnac-profiles-utils.c
+++ b/src/profiles/gnac-profiles-utils.c
@@ -145,6 +145,8 @@ gnac_profiles_utils_init_base_widget(GtkBuilder  *builder,
     gnac_profiles_utils_register_slider(widget, doc, xpath_query);
   }
 
+  g_free(widget_type);
+
   return widget;
 }
 



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