gsettingsbackend: Fix a minor memory leak

This never caused any problems because the default GSettingsBackend is
cached forever by GIOModule anyway.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-01-23 15:59:17 +00:00
parent 5beed066d1
commit caf5103d4b

View File

@ -1052,5 +1052,7 @@ g_settings_backend_sync_default (void)
if (class->sync)
class->sync (backend);
g_object_unref (backend);
}
}