tests: Fix a minor memory leak in the gsettings test

g_settings_backend_get_default() returns a strong reference.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-01-23 16:25:33 +00:00
parent caf5103d4b
commit 6c14e9a14b

View File

@ -2442,6 +2442,7 @@ test_schema_source (void)
g_settings_schema_unref (schema);
g_settings_schema_source_unref (source);
g_object_unref (backend);
}
static void