Thread (47 messages) 47 messages, 4 authors, 2018-02-06
STALE3049d REVIEWED: 1 (0M)

[PATCH v4 1/6] test: fix memory leak in bitmap test

From: Anatoly Burakov <hidden>
Date: 2018-02-05 13:03:15
Subsystem: the rest · Maintainer: Linus Torvalds

Fixes: c7e4a134e769 ("test: verify bitmap operations")
Cc: pbhagavatula@caviumnetworks.com

Signed-off-by: Anatoly Burakov <redacted>
Acked-by: Cristian Dumitrescu <redacted>
---

Notes:
    v4: put ack after signoff

 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 05d547e..c3169e9 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.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help