[6674] fix SIGSEGV when USE_KQEMU is defined
Revision: 6674
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6674 Author: aurel32 Date: 2009-03-03 06:28:26 +0000 (Tue, 03 Mar 2009)
Log Message:
-----------
fix SIGSEGV when USE_KQEMU is defined
Signed-off-by Alex Ivanov <[email protected]>
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/block.c
Modified: trunk/block.c
===================================================================
block.c +1 -1
@@ -1263,7 +1263,7 @@if (!s->is_write) {qemu_iovec_from_buffer (s->iov, s->bounce, s->iov->size); } -qemu_free (s->bounce); +qemu_vfree (s->bounce); s->this_aiocb->cb (s->this_aiocb->opaque, ret);qemu_aio_release (s->this_aiocb); }