From b7ef3b3ec75f38013d59fdfacefd29e9ab71f28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 6 Apr 2023 20:46:48 +0200 Subject: tests/gimarshallingtests: Unrefe the GByteArray object property We were leaking this, and so it was a false positive for the bindings --- tests/gimarshallingtests.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index dbe5185a..94ccc0b1 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -5771,6 +5771,7 @@ gi_marshalling_tests_properties_object_finalize (GObject *obj) g_clear_pointer (&self->some_string, g_free); g_clear_pointer (&self->some_strv, g_strfreev); g_clear_pointer (&self->some_boxed_struct, gi_marshalling_tests_boxed_struct_free); + g_clear_pointer (&self->some_byte_array, g_byte_array_unref); g_clear_pointer (&self->some_variant, g_variant_unref); g_clear_pointer (&self->some_boxed_glist, g_list_free); g_clear_object (&self->some_object); -- cgit v1.2.1