> -----Original Message----- > From: Markus Armbruster <arm...@redhat.com> > Sent: 05 May 2020 11:19 > To: qemu-devel@nongnu.org > Cc: Stefano Stabellini <sstabell...@kernel.org>; Anthony Perard > <anthony.per...@citrix.com>; Paul > Durrant <p...@xen.org>; Gerd Hoffmann <kra...@redhat.com>; > xen-de...@lists.xenproject.org > 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 <sstabell...@kernel.org> > Cc: Anthony Perard <anthony.per...@citrix.com> > Cc: Paul Durrant <p...@xen.org> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: xen-de...@lists.xenproject.org > Signed-off-by: Markus Armbruster <arm...@redhat.com>
Acked-by: Paul Durrant <p...@xen.org>