From f76c4d062966afdcdf5306f4c769a7ab0934e843 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 24 Jun 2010 00:38:01 -0400 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/gio/gdelayedsettingsbackend.c b/gio/gdelayedsettingsbackend.c index 890c61470..1edf57dec 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);