From 43fbb8652dbf516b5bf5cf91df46a2c2f3a93755 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 27 Feb 2017 10:07:14 +0000 Subject: [PATCH] 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 https://bugzilla.gnome.org/show_bug.cgi?id=779265 --- gio/tests/gsettings.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c index 18d28c25d..dfd4ee456 100644 --- a/gio/tests/gsettings.c +++ b/gio/tests/gsettings.c @@ -2373,10 +2373,8 @@ test_schema_list_keys (void) "farewell", NULL)); - g_strfreev (keys); g_settings_schema_unref (schema); - g_settings_schema_source_unref (src); } static void