Re: [Qemu-devel] [PATCH] vhost: fix double free on device stop

2011-06-21 Thread Michael S. Tsirkin
On Tue, Jun 21, 2011 at 08:10:44PM +0300, Michael S. Tsirkin wrote: > vhost dev stop failed to clear the log field. > Typically not an issue as dev start overwrites this field, > but if logging gets disabled before the following start, > it doesn't so this causes a double free. > > Signed-off-by:

[Qemu-devel] [PATCH] vhost: fix double free on device stop

2011-06-21 Thread Michael S. Tsirkin
vhost dev stop failed to clear the log field. Typically not an issue as dev start overwrites this field, but if logging gets disabled before the following start, it doesn't so this causes a double free. Signed-off-by: Michael S. Tsirkin --- hw/vhost.c |4 1 files changed, 4 insertions(+