[glib] gsettingsschema: plug leak



commit 78103b2f1feb5ccbdc97e47d857133826f22820d
Author: Xan Lopez <xan gnome org>
Date:   Mon Nov 29 15:29:12 2010 +0100

    gsettingsschema: plug leak

 gio/gsettingsschema.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c
index 51567c1..6d028ad 100644
--- a/gio/gsettingsschema.c
+++ b/gio/gsettingsschema.c
@@ -138,6 +138,8 @@ ensure_schema_lists (void)
                     g_hash_table_insert (single, g_strdup (list[i]), NULL);
                   else
                     g_hash_table_insert (reloc, g_strdup (list[i]), NULL);
+
+                  gvdb_table_unref (table);
                 }
             }
 



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