usb-ccid: Plug memory leak on qdev exit()
authorMarkus Armbruster <armbru@redhat.com>
Tue, 24 May 2011 16:09:10 +0000 (18:09 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 14 Jun 2011 14:34:35 +0000 (09:34 -0500)
commit6df658f55c41c583b3f6d6f872e3314ad7fe744c
treefdffa8a85218ea92c0db1a0a2178de44c17630ae
parent44dc0ca3d22db732a6c4b7f3e59594fc323113f8
usb-ccid: Plug memory leak on qdev exit()

ccid_initfn() allocates CCIDBus dynamically, but there is no exit
callback to free it.

Fix by getting rid of the allocation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
hw/usb-ccid.c