From d905dba48fd1a67af3668649523e5a0959d2f619 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Tue, 3 Mar 2009 06:28:26 +0000 Subject: [PATCH] fix SIGSEGV when USE_KQEMU is defined Signed-off-by: Alex Ivanov Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6674 c046a42c-6fe2-441c-8c8c-71466251a162 --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index 4f4bf7c..c214ff3 100644 --- a/block.c +++ b/block.c @@ -1263,7 +1263,7 @@ static void bdrv_aio_rw_vector_cb(void *opaque, int ret) 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); } -- 2.7.4