Re: [Qemu-devel] [PATCH] qdev: Free opts on failed do_device_add

2010-02-19 Thread Anthony Liguori
On 02/16/2010 06:12 AM, Kevin Wolf wrote: If the device can't be created, don't leak the QemuOpts and release the id of the device that should have been added by the failed device_add. Signed-off-by: Kevin Wolf Applied. Thanks. Regards, Anthony Liguori --- hw/qdev.c |7 +--

Re: [Qemu-devel] [PATCH] qdev: Free opts on failed do_device_add

2010-02-16 Thread Gerd Hoffmann
On 02/16/10 13:12, Kevin Wolf wrote: If the device can't be created, don't leak the QemuOpts and release the id of the device that should have been added by the failed device_add. Acked-by: Gerd Hoffmann cheers, Gerd