diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-03 06:28:26 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-03 06:28:26 +0000 |
commit | d905dba48fd1a67af3668649523e5a0959d2f619 (patch) | |
tree | 930b55462313265633ca7f901a2d608b56384c6f /block.c | |
parent | ab2da564d7f8f2a0e4e31875e1cdf87db14500e2 (diff) | |
download | qemu-d905dba48fd1a67af3668649523e5a0959d2f619.tar.gz qemu-d905dba48fd1a67af3668649523e5a0959d2f619.tar.bz2 qemu-d905dba48fd1a67af3668649523e5a0959d2f619.zip |
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
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |