[dpdk-dev] [PATCH 6/6] test: fix memory leak in timer perf autotest
Anatoly Burakov
anatoly.burakov at intel.com
Fri Dec 22 11:12:10 CET 2017
Fixes: 277afaf3dbcb ("app/test: add timer_perf")
Cc: stable at dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
test/test/test_timer_perf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/test/test_timer_perf.c b/test/test/test_timer_perf.c
index 467ae13..9804133 100644
--- a/test/test/test_timer_perf.c
+++ b/test/test/test_timer_perf.c
@@ -156,6 +156,7 @@ test_timer_perf(void)
printf("Time per rte_timer_manage with zero callbacks: %"PRIu64" cycles\n",
(end_tsc - start_tsc + iterations/2) / iterations);
+ rte_free(tms);
return 0;
}
--
2.7.4
More information about the dev
mailing list