From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 0A1D27CB3 for ; Mon, 11 Sep 2017 17:13:52 +0200 (CEST) Received: from glumotte.dev.6wind.com (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id 0E9D9CF331 for ; Mon, 11 Sep 2017 17:09:58 +0200 (CEST) From: Olivier Matz To: dev@dpdk.org Date: Mon, 11 Sep 2017 17:13:32 +0200 Message-Id: <20170911151333.5727-10-olivier.matz@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170911151333.5727-1-olivier.matz@6wind.com> References: <20170911151333.5727-1-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 09/10] app/test-crypto-perf: fix memory leak X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2017 15:13:52 -0000 data is allocated but never freed. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Olivier Matz --- 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 a314646c2..5221f2251 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.11.0