From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55796 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCtJx-0001AU-5J for qemu-devel@nongnu.org; Fri, 14 May 2010 07:44:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCtJv-0004IK-KW for qemu-devel@nongnu.org; Fri, 14 May 2010 07:44:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9513) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCtJv-0004IC-Bl for qemu-devel@nongnu.org; Fri, 14 May 2010 07:44:47 -0400 Message-ID: <4BED3796.5000108@redhat.com> Date: Fri, 14 May 2010 13:44:22 +0200 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] use qemu_free() instead of free() References: <4BEC175902000048000957DF@sinclair.provo.novell.com> In-Reply-To: <4BEC175902000048000957DF@sinclair.provo.novell.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bruce Rogers Cc: qemu-devel@nongnu.org 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 > > 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