> -----Original Message-----
> From: Markus Armbruster <[email protected]>
> Sent: 05 May 2020 11:19
> To: [email protected]
> Cc: Stefano Stabellini <[email protected]>; Anthony Perard 
> <[email protected]>; Paul
> Durrant <[email protected]>; Gerd Hoffmann <[email protected]>; 
> [email protected]
> Subject: [PATCH v2 02/10] xen: Fix and improve handling of device_add 
> usb-host errors
> 
> usbback_portid_add() leaks the error when qdev_device_add() fails.
> Fix that.  While there, use the error to improve the error message.
> 
> The qemu_opts_from_qdict() similarly leaks on failure.  But any
> failure there is a programming error.  Pass &error_abort.
> 
> Fixes: 816ac92ef769f9ffc534e49a1bb6177bddce7aa2
> Cc: Stefano Stabellini <[email protected]>
> Cc: Anthony Perard <[email protected]>
> Cc: Paul Durrant <[email protected]>
> Cc: Gerd Hoffmann <[email protected]>
> Cc: [email protected]
> Signed-off-by: Markus Armbruster <[email protected]>

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


Reply via email to