prefs: Don't leak the variant value for unknown properties
This commit is contained in:
parent
21bffe4aef
commit
5e249ad5eb
@ -1187,7 +1187,6 @@ settings_changed (GSettings *settings,
|
||||
{
|
||||
/* Unknown preference type. This quite likely simply isn't
|
||||
* a preference we track changes to. */
|
||||
return;
|
||||
}
|
||||
|
||||
g_variant_unref (value);
|
||||
|
Loading…
Reference in New Issue
Block a user