From patchwork Fri May 14 17:10:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [19/21] use qemu_free() instead of free() Date: Fri, 14 May 2010 07:10:53 -0000 From: Kevin Wolf X-Patchwork-Id: 52652 Message-Id: <1273857055-26715-20-git-send-email-kwolf@redhat.com> To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Bruce Rogers 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/block.c b/block.c index c134c2b..96ef1b1 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; }