On 12/04/2023 19:50, David Woodhouse wrote:
From: David Woodhouse <[email protected]>

There was a superfluous allocation of the XS handle, leading to it
being leaked on both the error path and the success path (where it gets
allocated again).

Spotted by Coverity (CID 1508098).

Fixes: ba2a92db1ff6 ("hw/xen: Add xenstore operations to allow redirection to 
internal emulation")
Suggested-by: Peter Maydell <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>

Reviewed-by: Paul Durrant <[email protected]>


Reply via email to