mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 13:23:07 +02:00
tests: Fix a double-unref in the GSettings unit tests
g_settings_schema_source_get_default() is (transfer none), not (transfer full). Spotted by Marvin Schmidt. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=779265
This commit is contained in:
parent
6bfb4ce191
commit
43fbb8652d
@ -2373,10 +2373,8 @@ test_schema_list_keys (void)
|
|||||||
"farewell",
|
"farewell",
|
||||||
NULL));
|
NULL));
|
||||||
|
|
||||||
|
|
||||||
g_strfreev (keys);
|
g_strfreev (keys);
|
||||||
g_settings_schema_unref (schema);
|
g_settings_schema_unref (schema);
|
||||||
g_settings_schema_source_unref (src);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user