From ec9a53b3a6beff98803f721b5eb76c0f58f91edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Sun, 7 Jul 2013 19:35:23 +0200 Subject: [PATCH] Free the allocated bitvec in test --- test/test_bitvec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_bitvec.c b/test/test_bitvec.c index 629c241..3805ebb 100644 --- a/test/test_bitvec.c +++ b/test/test_bitvec.c @@ -66,6 +66,8 @@ START_TEST (test_bitvec_setall_clearall) for (i = 0; i < sizeof(unsigned long) * 8; i++) fail_if(uc_bv_get_bit(v, i) != 0 , "bit %zu is not 0", i); + uc_bv_free(v); + END_TEST Suite *bitvec_suite(void)