From: Olivier Matz Date: Mon, 11 Sep 2017 15:13:32 +0000 (+0200) Subject: app/test-crypto-perf: fix memory leak X-Git-Tag: spdx-start~1776 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0afa5e393f3acddfb49ffd7bab858bfec6457697;p=dpdk.git 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 --- 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; }