qemu-e2k/qga
Jeff Cody b71706d122 qemu-ga: for w32, fix leaked handle ov.hEvent in ga_channel_write()
In the function ga_channel_write(), the handle ov.hEvent is created
by the call to CreateEvent(). However, the handle is not closed
prior to the function return.

This patch closes the handle before the return of the function.

Kudos to Paolo Bonzini for spotting this bug.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-03-19 11:31:04 +00:00
..
channel-posix.c
channel-win32.c qemu-ga: for w32, fix leaked handle ov.hEvent in ga_channel_write() 2012-03-19 11:31:04 +00:00
channel.h
commands-posix.c qemu-ga: add guest-sync-delimited 2012-03-12 15:09:23 -05:00
commands-win32.c qemu-ga: add guest-network-get-interfaces command 2012-03-12 15:09:18 -05:00
commands.c qemu-ga: add guest-sync-delimited 2012-03-12 15:09:23 -05:00
guest-agent-command-state.c
guest-agent-core.h qemu-ga: add guest-sync-delimited 2012-03-12 15:09:23 -05:00
service-win32.c qemu-ga: add Windows service integration 2012-02-23 15:43:50 -06:00
service-win32.h qemu-ga: add Windows service integration 2012-02-23 15:43:50 -06:00