Commit d905dba48fd1a67af3668649523e5a0959d2f619
1 parent
ab2da564
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
Showing
1 changed file
with
1 additions
and
1 deletions
block.c
... | ... | @@ -1263,7 +1263,7 @@ static void bdrv_aio_rw_vector_cb(void *opaque, int ret) |
1263 | 1263 | if (!s->is_write) { |
1264 | 1264 | qemu_iovec_from_buffer(s->iov, s->bounce, s->iov->size); |
1265 | 1265 | } |
1266 | - qemu_free(s->bounce); | |
1266 | + qemu_vfree(s->bounce); | |
1267 | 1267 | s->this_aiocb->cb(s->this_aiocb->opaque, ret); |
1268 | 1268 | qemu_aio_release(s->this_aiocb); |
1269 | 1269 | } | ... | ... |