app/test-crypto-perf: fix memory leak

data is allocated but never freed.

Fixes: f8be1786b1 ("app/crypto-perf: introduce performance test application")
Cc: stable@dpdk.org

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
Olivier Matz 2017-09-11 17:13:32 +02:00 committed by Ferruh Yigit
parent 0e985314d5
commit 0afa5e393f

View File

@ -386,6 +386,7 @@ cperf_verify_op(struct rte_crypto_op *op,
options->digest_sz);
}
rte_free(data);
return !!res;
}