Skip to contentSkip to conversation

revert "fix qemu memory leak in block interface"

PATCH New Stefano Stabellini 1 participant 1 message Oct 5, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

block.c +0 -1
index 6ce453c..36f5eb9 100644
@@ -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,