From patchwork Fri May 14 17:10:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 52652 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B77F4B7EEF for ; Sat, 15 May 2010 03:53:02 +1000 (EST) Received: from localhost ([127.0.0.1]:36042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCz4A-0006OD-7k for incoming@patchwork.ozlabs.org; Fri, 14 May 2010 13:52:54 -0400 Received: from [140.186.70.92] (port=41446 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCyQc-0000iJ-3c for qemu-devel@nongnu.org; Fri, 14 May 2010 13:12:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCyQY-0001yU-PQ for qemu-devel@nongnu.org; Fri, 14 May 2010 13:12:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29063) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCyQY-0001yK-Dz for qemu-devel@nongnu.org; Fri, 14 May 2010 13:11:58 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4EHBu0H030910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 May 2010 13:11:57 -0400 Received: from localhost.localdomain (vpn1-7-82.ams2.redhat.com [10.36.7.82]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4EHBFWn004751; Fri, 14 May 2010 13:11:55 -0400 From: Kevin Wolf To: anthony@codemonkey.ws Date: Fri, 14 May 2010 19:10:53 +0200 Message-Id: <1273857055-26715-20-git-send-email-kwolf@redhat.com> In-Reply-To: <1273857055-26715-1-git-send-email-kwolf@redhat.com> References: <1273857055-26715-1-git-send-email-kwolf@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: kwolf@redhat.com, qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 19/21] use qemu_free() instead of free() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@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; }