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:
parent
0e985314d5
commit
0afa5e393f
@ -386,6 +386,7 @@ cperf_verify_op(struct rte_crypto_op *op,
|
||||
options->digest_sz);
|
||||
}
|
||||
|
||||
rte_free(data);
|
||||
return !!res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user