From af474591e5521978194ee099497202c6818f2359 Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Thu, 13 May 2010 15:14:33 -0600 Subject: [PATCH] use qemu_free() instead of free() There is a call to free() where qemu_free() should instead be used. Signed-off-by: Bruce Rogers Signed-off-by: Kevin Wolf --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index c134c2bcb5..96ef1b1955 100644 --- a/block.c +++ b/block.c @@ -2075,7 +2075,7 @@ int bdrv_aio_multiwrite(BlockDriverState *bs, BlockRequest *reqs, int num_reqs) return 0; fail: - free(mcb); + qemu_free(mcb); return -1; }