mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
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:
parent
caf5103d4b
commit
6c14e9a14b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user