From 0afa5e393f3acddfb49ffd7bab858bfec6457697 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Mon, 11 Sep 2017 17:13:32 +0200 Subject: [PATCH] app/test-crypto-perf: fix memory leak data is allocated but never freed. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: stable@dpdk.org Signed-off-by: Olivier Matz Acked-by: Pablo de Lara --- app/test-crypto-perf/cperf_test_verify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-crypto-perf/cperf_test_verify.c b/app/test-crypto-perf/cperf_test_verify.c index a314646c2d..5221f22513 100644 --- a/app/test-crypto-perf/cperf_test_verify.c +++ b/app/test-crypto-perf/cperf_test_verify.c @@ -386,6 +386,7 @@ cperf_verify_op(struct rte_crypto_op *op, options->digest_sz); } + rte_free(data); return !!res; } -- 2.20.1