use qemu_free() instead of free()
PATCH 1/1 use qemu_free() instead of free()
There is a call to free() where qemu_free() should instead be used.
Signed-off-by Bruce Rogers <[email protected]>
block.c +1 -1
@@ -2073,7 +2073,7 @@ int bdrv_aio_multiwrite(BlockDriverState *bs, BlockRequest *reqs, int num_reqs)return 0 ; fail: -free (mcb); +qemu_free (mcb);return -1 ; }
Am 13.05.2010 23:14, schrieb Bruce Rogers:
Quoted 9 lines
There is a call to
free()whereqemu_free()should instead be used.Signed-off-by Bruce Rogers <[email protected]>block.c +0
-0
block.c int bdrv_aio_multiwrite(BlockDriverState *bs, BlockRequest · line 2079
Quoted 8 lines
block.c +1
-1@@ -2073,7 +2073,7 @@ int bdrv_aio_multiwrite(BlockDriverState *bs, BlockRequest *reqs, int num_reqs)return 0 ; fail: -free (mcb); +qemu_free (mcb);return -1 ; }
Fixed the line wrap and applied to the block branch. Thanks.
Kevin