Commit f76c4d06 authored by Allison Karlitskaya's avatar Allison Karlitskaya

GSettings "delayed": don't leak unapplied keys

GDelayedSettingsBackend was leaking the GTree holding the list of
unapplied keys on finalize.
parent 17bc9bf9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment