[PATCH 0/2] cryptodev: fix memory leak

Lei He posted 2 patches 1 year, 6 months ago
Failed in applying to current master (apply log)
hw/virtio/virtio-crypto.c | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
[PATCH 0/2] cryptodev: fix memory leak
Posted by Lei He 1 year, 6 months ago
- Avoid using g_autoptr to free memory that not allocated
in the same function.
- Fix memory-leak when 'virtio_crypto_handle_request' returns
no-zero value.
- When error occurred, always pass negative status to function
'vritio_crypto_req_complete'.

Lei He (2):
  cryptodev: avoid unreasonable use of g_autoptr
  cryptodev: fix memory-leak occurs on error path

 hw/virtio/virtio-crypto.c | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

-- 
2.11.0