git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e98531
)
app/test-crypto-perf: fix memory leak
author
Olivier Matz
<olivier.matz@6wind.com>
Mon, 11 Sep 2017 15:13:32 +0000
(17:13 +0200)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:50 +0000
(
02:49
+0200)
data is allocated but never freed.
Fixes:
f8be1786b1b8
("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>
app/test-crypto-perf/cperf_test_verify.c
patch
|
blob
|
history
diff --git
a/app/test-crypto-perf/cperf_test_verify.c
b/app/test-crypto-perf/cperf_test_verify.c
index
a314646
..
5221f22
100644
(file)
--- 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;
}