summaryrefslogtreecommitdiffstats
path: root/hw/sd/sd.c
diff options
context:
space:
mode:
authorMarkus Armbruster2020-05-05 12:19:00 +0200
committerMarkus Armbruster2020-05-27 07:45:17 +0200
commit56f9dde414053410857d0083e92e5b1b45cf33dc (patch)
tree06f3413646825967709f76916da46878ead6f978 /hw/sd/sd.c
parentnvdimm: Plug memory leak in uuid property setter (diff)
downloadqemu-56f9dde414053410857d0083e92e5b1b45cf33dc.tar.gz
qemu-56f9dde414053410857d0083e92e5b1b45cf33dc.tar.xz
qemu-56f9dde414053410857d0083e92e5b1b45cf33dc.zip
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 <sstabellini@kernel.org> Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Paul Durrant <paul@xen.org> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: xen-devel@lists.xenproject.org Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200505101908.6207-3-armbru@redhat.com> Acked-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'hw/sd/sd.c')
0 files changed, 0 insertions, 0 deletions