[dconf] service/: don't call g_hash_table_unref on changeset
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] service/: don't call g_hash_table_unref on changeset
- Date: Wed, 2 Jan 2013 19:23:08 +0000 (UTC)
commit d5e6b6d16c47c4a97bf5b9ab34054f5d26e456af
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Jan 2 14:03:59 2013 -0500
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 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]