summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/dconf-service.c1
-rw-r--r--service/dconf-writer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/service/dconf-service.c b/service/dconf-service.c
index fa62437..2d3026e 100644
--- a/service/dconf-service.c
+++ b/service/dconf-service.c
@@ -252,6 +252,7 @@ dconf_service_dbus_register (GApplication *application,
g_object_ref (service), g_object_unref, &local_error);
g_assert_no_error (local_error);
g_array_append_vals (service->subtree_ids, &id, 1);
+ g_free (path);
}
return TRUE;
diff --git a/service/dconf-writer.c b/service/dconf-writer.c
index b274ac9..aa0c96e 100644
--- a/service/dconf-writer.c
+++ b/service/dconf-writer.c
@@ -200,6 +200,7 @@ dconf_writer_real_end (DConfWriter *writer)
while (!g_queue_is_empty (&writer->priv->uncommited_changes))
{
TaggedChange *change = g_queue_pop_head (&writer->priv->uncommited_changes);
+ dconf_changeset_unref (change->changeset);
g_free (change->tag);
g_slice_free (TaggedChange, change);
}