________________________________
From: Eric Blake <[email protected]>
Sent: Friday, March 20, 2020 9:36 PM
To: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>; Andrey Shinkevich 
<[email protected]>; Kevin Wolf <[email protected]>; Max Reitz 
<[email protected]>; open list:qcow2 <[email protected]>
Subject: [PATCH] block: Avoid memleak on qcow2 image info failure

If we fail to get bitmap info, we must not leak the encryption info.

Fixes: b8968c875f403
Fixes: Coverity CID 1421894
Signed-off-by: Eric Blake <[email protected]>
---

Thank you Eric.
I have made a smoke test only without the crypto object instantiation.

Andrey


Reviewed-by: Andrey Shinkevich <[email protected]>

Tested-by: Andrey Shinkevich <[email protected]>

Reply via email to