From 24d376bfee2874c6fcb0d468b5f3898e60478169 Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Tue, 6 Feb 2018 13:35:37 +0000 Subject: [PATCH] test/bitmap: fix memory leak Fixes: c7e4a134e769 ("test: verify bitmap operations") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov Acked-by: Cristian Dumitrescu --- test/test/test_bitmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test/test_bitmap.c b/test/test/test_bitmap.c index 05d547ed9e..c3169e9d55 100644 --- a/test/test/test_bitmap.c +++ b/test/test/test_bitmap.c @@ -158,6 +158,9 @@ test_bitmap(void) if (test_bitmap_scan_operations(bmp) < 0) return TEST_FAILED; + rte_bitmap_free(bmp); + rte_free(mem); + return TEST_SUCCESS; } -- 2.20.1