]> git.proxmox.com Git - mirror_qemu.git/commit
usb-mtp: free objects on a mtp reset
authorBandan Das <bsd@redhat.com>
Mon, 23 Nov 2015 21:37:03 +0000 (16:37 -0500)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Dec 2015 08:25:27 +0000 (09:25 +0100)
commitb3c4d4250f571c2c739699be563f764eae1e6f52
tree495cb3f7c0f36217c78251353583e11be4ed5c7d
parent4c7a67f5cdc79ed3f91a15e869c8dd653efa19b4
usb-mtp: free objects on a mtp reset

On a reset, call usb_mtp_object_free on all objects and their children

Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: 1448314625-3855-3-git-send-email-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-mtp.c