[glib] Close memory leak in GSettings



commit 0fc60514fcf9b0d38292ca3a9c416943f722227a
Author: Felix Riemann <friemann gnome org>
Date:   Fri Jun 11 00:10:05 2010 +0200

    Close memory leak in GSettings
    
    Fixes bug #621252.

 gio/gsettings.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index 7b829f7..15de030 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -552,6 +552,7 @@ g_settings_finalize (GObject *object)
   g_object_unref (settings->priv->backend);
   g_object_unref (settings->priv->schema);
   g_free (settings->priv->schema_name);
+  g_free (settings->priv->context);
   g_free (settings->priv->path);
 }
 



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