Signed-off-by: Thomas Graf <[email protected]>
---
tests/test-bitmap.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/test-bitmap.c b/tests/test-bitmap.c
index b1274e3..3644419 100644
--- a/tests/test-bitmap.c
+++ b/tests/test-bitmap.c
@@ -56,6 +56,9 @@ test_bitmap_equal(void)
assert(!bitmap_equal(a, b, 11 * BITMAP_ULONG_BITS - 1));
assert(!bitmap_equal(a, b,
11 * BITMAP_ULONG_BITS - (BITMAP_ULONG_BITS - 1)));
+
+ free(b);
+ free(a);
}
/* Tests bitmap_scan. */
@@ -107,6 +110,8 @@ test_bitmap_scan(void)
assert(bitmap_scan(a, false, 0, MAX_BITS - 1) == BITMAP_ULONG_BITS - 1);
bitmap_set0(a, 0);
assert(bitmap_scan(a, false, 0, MAX_BITS - 1) == 0);
+
+ free(a);
}
static void
--
1.9.3
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev