forked from AuroraMiddleware/gtk
testsuite: Fix a leak
asan pointed out that the array tests leak.
This commit is contained in:
parent
73617ee422
commit
90ef388641
@ -100,6 +100,8 @@ gdk_array(test_splice) (void)
|
|||||||
sum -= gdk_array(get) (&v, i);
|
sum -= gdk_array(get) (&v, i);
|
||||||
}
|
}
|
||||||
g_assert_cmpint (sum, ==, 0);
|
g_assert_cmpint (sum, ==, 0);
|
||||||
|
|
||||||
|
gdk_array(clear) (&v);
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef _T_
|
#undef _T_
|
||||||
|
Loading…
Reference in New Issue
Block a user