summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-01-02 14:03:59 -0500
committerRyan Lortie <desrt@desrt.ca>2013-01-02 14:17:42 -0500
commitd5e6b6d16c47c4a97bf5b9ab34054f5d26e456af (patch)
tree8df5d3e032f76ec39ada23a612dc99b58dae3fab
parentddeff730b3205b222df533dfb5d75c28f8c6e85b (diff)
downloaddconf-d5e6b6d16c47c4a97bf5b9ab34054f5d26e456af.tar.gz
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
-rw-r--r--service/dconf-writer.c2
1 files changed, 1 insertions, 1 deletions
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