aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2022-11-14 11:07:40 +0000
committerMichael S. Tsirkin <[email protected]>2022-12-28 05:28:10 -0500
commitb1d65f717cd6305a396a8738e022c6f7c65cfbe8 (patch)
tree6e546ab023895bf628d16e621fd479ac54b004df /scripts/gdb/linux/tasks.py
parenta4722f64f924a9992efc08d141c21b2da02b70f3 (diff)
virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
'vc_ctrl_req' is alloced in virtio_crypto_alg_skcipher_close_session(), and should be freed in the invalid ctrl_status->status error handling case. Otherwise there is a memory leak. Fixes: 0756ad15b1fe ("virtio-crypto: use private buffer for control request") Signed-off-by: Wei Yongjun <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Gonglei <[email protected]> Acked-by: zhenwei pi<[email protected]> Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions