aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTianjia Zhang <[email protected]>2020-09-21 00:20:59 +0800
committerHerbert Xu <[email protected]>2020-09-25 17:48:54 +1000
commit2b40386774831c9617325ca8940fb3c270cbb086 (patch)
treefd5ffe947839c62b0c9fb67f8970ba157a25a389 /tools/perf/scripts/python
parenta1f62c217d9c371187dd14d2e1370923aae58994 (diff)
crypto: testmgr - Fix potential memory leak in test_akcipher_one()
When the 'key' allocation fails, the 'req' will not be released, which will cause memory leakage on this path. This patch adds a 'free_req' tag used to solve this problem, and two new err values are added to reflect the real reason of the error. Signed-off-by: Tianjia Zhang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions