From: Stefano Stabellini Subject: [PATCH 1 of 12] revert "fix qemu memory leak in block interface" Date: Mon, 5 Oct 2009 14:40:47 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Jackson List-Id: xen-devel@lists.xenproject.org "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 --- 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,