Re: [Qemu-devel] [PATCH] usb-ccid: Plug memory leak on qdev exit()

2011-05-24 Thread Alon Levy
On Tue, May 24, 2011 at 06:09:10PM +0200, Markus Armbruster wrote: > 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 Tested-by: Alon Levy > --- > hw/usb-ccid.c | 28 +

[Qemu-devel] [PATCH] usb-ccid: Plug memory leak on qdev exit()

2011-05-24 Thread Markus Armbruster
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 --- hw/usb-ccid.c | 28 1 files changed, 8 insertions(+), 20 deletions(-) diff --git a/hw/usb-ccid.c b/hw