[glib] GSettings "delayed": don't leak unapplied keys
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GSettings "delayed": don't leak unapplied keys
- Date: Thu, 24 Jun 2010 04:41:02 +0000 (UTC)
commit f76c4d062966afdcdf5306f4c769a7ab0934e843
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jun 24 00:38:01 2010 -0400
GSettings "delayed": don't leak unapplied keys
GDelayedSettingsBackend was leaking the GTree holding the list of
unapplied keys on finalize.
gio/gdelayedsettingsbackend.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdelayedsettingsbackend.c b/gio/gdelayedsettingsbackend.c
index 890c614..1edf57d 100644
--- a/gio/gdelayedsettingsbackend.c
+++ b/gio/gdelayedsettingsbackend.c
@@ -405,6 +405,7 @@ g_delayed_settings_backend_finalize (GObject *object)
g_static_mutex_free (&delayed->priv->lock);
g_object_unref (delayed->priv->backend);
+ g_tree_unref (delayed->priv->delayed);
/* if our owner is still alive, why are we finalizing? */
g_assert (delayed->priv->owner == NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]