From: Anatoly Burakov Date: Tue, 6 Feb 2018 13:35:37 +0000 (+0000) Subject: test/bitmap: fix memory leak X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=24d376bfee2874c6fcb0d468b5f3898e60478169;p=dpdk.git test/bitmap: fix memory leak Fixes: c7e4a134e769 ("test: verify bitmap operations") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov Acked-by: Cristian Dumitrescu --- 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; }