diff options
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r-- | tests/gimarshallingtests.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index 4931778d..2851c4d1 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -4948,6 +4948,14 @@ static void gi_marshalling_tests_properties_object_init (GIMarshallingTestsPrope static void gi_marshalling_tests_properties_object_finalize (GObject *obj) { + GIMarshallingTestsPropertiesObject *self; + self = GI_MARSHALLING_TESTS_PROPERTIES_OBJECT (obj); + + if (self->some_strv != NULL) { + g_strfreev (self->some_strv); + self->some_strv = NULL; + } + G_OBJECT_CLASS (gi_marshalling_tests_properties_object_parent_class)->finalize (obj); } |