[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] use qemu_free() instead of free()
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] use qemu_free() instead of free() |
Date: |
Fri, 14 May 2010 13:44:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
Am 13.05.2010 23:14, schrieb Bruce Rogers:
> There is a call to free() where qemu_free() should instead be used.
>
> Signed-off-by: Bruce Rogers <address@hidden>
>
> diff --git a/block.c b/block.c
> index 48305b7..1a9d72d 100644
> --- a/block.c
> +++ b/block.c
> @@ -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