]> git.proxmox.com Git - qemu.git/commit
win32-aio: Fix how win32_aio_process_completion() frees buffer
authorMarkus Armbruster <armbru@redhat.com>
Tue, 15 Jan 2013 13:23:39 +0000 (14:23 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 15 Jan 2013 15:47:45 +0000 (16:47 +0100)
commit7479acdbce2ecf6cbd0b7d72b81608c8fc51b1ae
treea5ac61085940516fbb789988d6e5cda6de002115
parentdb4c34c3df5107ec4900ff07f70c540479a7eeca
win32-aio: Fix how win32_aio_process_completion() frees buffer

win32_aio_submit() allocates it with qemu_blockalign(), therefore it
must be freed with qemu_vfree(), not g_free().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/win32-aio.c