Stefano Stabellini
2009-Oct-05 13:40 UTC
[Xen-devel] [PATCH 1 of 12] revert "fix qemu memory leak in block interface"
"fix qemu memory leak in block interface" is not going to be needed any more thanks to the refactoring of the block layer. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- diff --git a/block.c b/block.c index 6ce453c..36f5eb9 100644 --- a/block.c +++ b/block.c @@ -1378,7 +1378,6 @@ static void bdrv_aio_rw_vector_cb(void *opaque, int ret) qemu_vfree(s->bounce); s->this_aiocb->cb(s->this_aiocb->opaque, ret); qemu_aio_release(s->this_aiocb); - qemu_free(s); } static BlockDriverAIOCB *bdrv_aio_rw_vector(BlockDriverState *bs, _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel