diff options
author | Boris Brezillon <[email protected]> | 2015-10-18 17:24:57 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2015-10-20 22:11:09 +0800 |
commit | 8c07f3a8c487df241f5e809e8f6d5dd7c9d75b54 (patch) | |
tree | 611dc873e4151a7957b9fd0a5ff1c06e68dcc28c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8efbc2c0f6b4e52e384ecb1714511f0194c4d56a (diff) |
crypto: marvell/cesa - fix memory leak
To: Boris Brezillon <[email protected]>,Arnaud Ebalard <[email protected]>,Thomas Petazzoni <[email protected]>,Jason Cooper <[email protected]>
The local chain variable is not cleaned up if an error occurs in the middle
of DMA chain creation. Fix that by dropping the local chain variable and
using the dreq->chain field which will be cleaned up by
mv_cesa_dma_cleanup() in case of errors.
Signed-off-by: Boris Brezillon <[email protected]>
Reported-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions