aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-03 06:28:26 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-03 06:28:26 +0000
commitd905dba48fd1a67af3668649523e5a0959d2f619 (patch)
tree930b55462313265633ca7f901a2d608b56384c6f
parentab2da564d7f8f2a0e4e31875e1cdf87db14500e2 (diff)
downloadqemu-d905dba48fd1a67af3668649523e5a0959d2f619.zip
qemu-d905dba48fd1a67af3668649523e5a0959d2f619.tar.gz
qemu-d905dba48fd1a67af3668649523e5a0959d2f619.tar.bz2
fix SIGSEGV when USE_KQEMU is defined
Signed-off-by: Alex Ivanov <void@aleksoft.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6674 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--block.c2
1 files changed, 1 insertions, 1 deletions
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);
}