[gnome-settings-daemon] gconf: Plug a memory leak



commit 9b534448f26d51ce1ac80b49483a621ac3a9540f
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Tue Sep 6 12:19:08 2011 +0200

    gconf: Plug a memory leak

 plugins/gconf/gsd-gconf-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/gconf/gsd-gconf-manager.c b/plugins/gconf/gsd-gconf-manager.c
index 7723e35..20c94b1 100644
--- a/plugins/gconf/gsd-gconf-manager.c
+++ b/plugins/gconf/gsd-gconf-manager.c
@@ -138,6 +138,7 @@ gsd_gconf_manager_start (GsdGconfManager *manager, GError **error)
                         /* Free all memory */
                         g_free (path);
                         g_strfreev (groups);
+                        g_key_file_free (key_file);
 
                         result = TRUE;
                 }



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