summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2023-04-06 20:46:48 +0200
committerPhilip Chimento <philip.chimento@gmail.com>2023-04-09 19:51:31 +0000
commitb7ef3b3ec75f38013d59fdfacefd29e9ab71f28a (patch)
treec196b5ac4ff2836e2cad2c2f42c5e58a0d837d5c
parent1c8c67c8e62dafe35fbe06f36e5fc31c9e97a4a5 (diff)
downloadgobject-introspection-b7ef3b3ec75f38013d59fdfacefd29e9ab71f28a.tar.gz
tests/gimarshallingtests: Unrefe the GByteArray object property
We were leaking this, and so it was a false positive for the bindings
-rw-r--r--tests/gimarshallingtests.c1
1 files changed, 1 insertions, 0 deletions
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);