]> git.proxmox.com Git - mirror_qemu.git/commit
usb: free USBDevice.strings
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 15 Jul 2016 09:14:07 +0000 (11:14 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sun, 7 Aug 2016 20:00:32 +0000 (00:00 +0400)
commitec507f112361ddf6dac0f0a30e84d9da1b4910b6
tree70358063d9e32689738fe30bee37234b12d8ace5
parent0137a557aac07480ff8447ef372f0581af5ee65a
usb: free USBDevice.strings

The list is created during instance init and further populated with
usb_desc_set_string(). Clear it when unrealizing the device.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/bus.c