Thread (47 messages) 47 messages, 4 authors, 2018-02-06
STALE3067d

[PATCH v4 6/6] test: fix memory leak in timer perf autotest

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

Fixes: 277afaf3dbcb ("app/test: add timer_perf")
Cc: stable@dpdk.org

Signed-off-by: Anatoly Burakov <redacted>
---
 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 afa3a06..0fe2b74 100644
--- a/test/test/test_timer_perf.c
+++ b/test/test/test_timer_perf.c
@@ -127,6 +127,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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help