testsuite: Fix a leak

asan pointed out that the array tests leak.
This commit is contained in:
Matthias Clasen 2021-01-22 11:50:04 -05:00
parent 73617ee422
commit 90ef388641

View File

@ -100,6 +100,8 @@ gdk_array(test_splice) (void)
sum -= gdk_array(get) (&v, i);
}
g_assert_cmpint (sum, ==, 0);
gdk_array(clear) (&v);
}
#undef _T_