prefs: Don't leak the variant value for unknown properties

This commit is contained in:
Jasper St. Pierre 2014-09-29 17:47:08 -06:00
parent 21bffe4aef
commit 5e249ad5eb

View File

@ -1187,7 +1187,6 @@ settings_changed (GSettings *settings,
{ {
/* Unknown preference type. This quite likely simply isn't /* Unknown preference type. This quite likely simply isn't
* a preference we track changes to. */ * a preference we track changes to. */
return;
} }
g_variant_unref (value); g_variant_unref (value);