diff --git a/gio/gsettings.c b/gio/gsettings.c index 4d42838b0..2cdb485fc 100644 --- a/gio/gsettings.c +++ b/gio/gsettings.c @@ -1218,7 +1218,7 @@ g_settings_binding_property_changed (GObject *object, { g_settings_set_value (binding->settings, binding->key, - variant); + g_variant_ref_sink (variant)); g_variant_unref (variant); } g_value_unset (&value);