From d5e6b6d16c47c4a97bf5b9ab34054f5d26e456af Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Wed, 2 Jan 2013 14:03:59 -0500 Subject: service/: don't call g_hash_table_unref on changeset 4fce559d81bdd3841cfe16fd3a3e6b8e6e9e60f2 changed from using GHashTable to database-mode changesets for caching the state of the database in the service but we missed a case of g_hash_table_unref being called. Fix that now. Problem reported and fix suggested by Philippe Coval. https://bugzilla.gnome.org/show_bug.cgi?id=691013 --- service/dconf-writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/dconf-writer.c b/service/dconf-writer.c index 0170046..2781f13 100644 --- a/service/dconf-writer.c +++ b/service/dconf-writer.c @@ -176,7 +176,7 @@ dconf_writer_real_end (DConfWriter *writer) g_slice_free (TaggedChange, change); } - g_clear_pointer (&writer->uncommited_values, g_hash_table_unref); + g_clear_pointer (&writer->uncommited_values, dconf_changeset_unref); } gboolean -- cgit v1.2.1