git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07b7b0b
)
test/bitmap: fix memory leak
author
Anatoly Burakov
<anatoly.burakov@intel.com>
Tue, 6 Feb 2018 13:35:37 +0000
(13:35 +0000)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 6 Feb 2018 18:45:29 +0000
(19:45 +0100)
Fixes:
c7e4a134e769
("test: verify bitmap operations")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
test/test/test_bitmap.c
patch
|
blob
|
history
diff --git
a/test/test/test_bitmap.c
b/test/test/test_bitmap.c
index
05d547e
..
c3169e9
100644
(file)
--- 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;
}