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

Re: [PATCH 4/6] test: fix memory leak in ring perf autotest

From: Olivier MATZ <hidden>
Date: 2017-12-22 16:28:08

On Fri, Dec 22, 2017 at 10:12:08AM +0000, Anatoly Burakov wrote:
quoted hunk ↗ jump to hunk
Fixes: ac3fb3019c52 ("app: rework ring tests")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <redacted>
---
 test/test/test_ring_perf.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/test/test/test_ring_perf.c b/test/test/test_ring_perf.c
index 84d2003..b586459 100644
--- a/test/test/test_ring_perf.c
+++ b/test/test/test_ring_perf.c
@@ -420,6 +420,7 @@ test_ring_perf(void)
 		printf("\n### Testing using two NUMA nodes ###\n");
 		run_on_core_pair(&cores, enqueue_bulk, dequeue_bulk);
 	}
+	rte_ring_free(r);
 	return 0;
 }
Same comment than the functional ring test, r is static.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help