usb-ccid: Plug memory leak on qdev exit()
commite13e973eedba0a52b4b8b079c4b85cdc68b7b4f0
authorMarkus Armbruster <armbru@redhat.com>
Tue, 24 May 2011 16:09:10 +0000 (24 18:09 +0200)
committerAlon Levy <alevy@redhat.com>
Tue, 31 May 2011 16:36:21 +0000 (31 19:36 +0300)
treeb62b9d76ff75d42ea6c8d5f6d9539826a080b601
parentb7b8c61893f64416cf8b07a3192f25976d4a29eb
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