From patchwork Thu May 13 21:14:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Rogers X-Patchwork-Id: 52521 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 92642B7E3F for ; Fri, 14 May 2010 07:16:07 +1000 (EST) Received: from localhost ([127.0.0.1]:34648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCflD-0003mX-Iy for incoming@patchwork.ozlabs.org; Thu, 13 May 2010 17:16:03 -0400 Received: from [140.186.70.92] (port=48854 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCfjs-0003Js-B7 for qemu-devel@nongnu.org; Thu, 13 May 2010 17:14:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCfjq-0000oQ-QH for qemu-devel@nongnu.org; Thu, 13 May 2010 17:14:40 -0400 Received: from sinclair.provo.novell.com ([137.65.248.137]:13495) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCfjq-0000o1-LQ for qemu-devel@nongnu.org; Thu, 13 May 2010 17:14:38 -0400 Received: from INET-PRV-MTA by sinclair.provo.novell.com with Novell_GroupWise; Thu, 13 May 2010 15:14:37 -0600 Message-Id: <4BEC175902000048000957DF@sinclair.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Thu, 13 May 2010 15:14:33 -0600 From: "Bruce Rogers" To: Mime-Version: 1.0 Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Novell Netware 6 SP3 Subject: [Qemu-devel] [PATCH] 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 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; }