Message ID | f19377bf234a3359b0a03844822e97de80ad4f30.1433336870.git.mjt@msgid.tls.msk.ru |
---|---|
State | Accepted |
Commit | f19377bf234a3359b0a03844822e97de80ad4f30 |
Headers | show
Return-Path: <patchwork-forward+bncBDM4H6PZD4IP5PV4VMCRUBH4ZRTLS@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 06D4520DDC for <linaro@patches.linaro.org>; Wed, 3 Jun 2015 15:38:40 +0000 (UTC) Received: by lbcak1 with SMTP id ak1sf3731981lbc.2 for <linaro@patches.linaro.org>; Wed, 03 Jun 2015 08:38:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=+vE3AFDUcCydjiHqsB5+VsiNP0iP75XINimpLl8i21Y=; b=kE/WqAN+Rm3N8n3akZ4b2oU6R/gFX2yALGY6x77uPE0EdQ+FyE2lo5QhY3FBoUGqHR 380/5vl9A+b45h6xFBLoBaPhbPNUQyScTzPitDZfeKGbGUBeh08bQFEhhnSr0eqNVulL 8HmjA/x/VZdCAMvusdf8tiGIXGSGwzctcOMmR0iY0qScURYtotxFeXHAm4knXl0GCjNm vRlRIvKzZWn72TRh4FeR2lDK+RzRmUXXg8B3fzTOuvzyvUXRc3dvveN65xdb8B4HNwto lJFHkP0JqVCFzMwpF6jaZF/0a5yWxJz9g2paBHIKvtCZeuH1f44H+W49mo7B9cRT2pu9 hweQ== X-Gm-Message-State: ALoCoQmpCjM9WfpmcfAw8VytzX9afr1x6RIvq1AcaXq2QSCCEErJfYp5x9GZYdYRVsZ2dH0r2aH1 X-Received: by 10.152.88.37 with SMTP id bd5mr8056388lab.0.1433345918860; Wed, 03 Jun 2015 08:38:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.67 with SMTP id q3ls69961laq.78.gmail; Wed, 03 Jun 2015 08:38:38 -0700 (PDT) X-Received: by 10.152.207.105 with SMTP id lv9mr32983319lac.10.1433345918587; Wed, 03 Jun 2015 08:38:38 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id lb7si18313581lac.89.2015.06.03.08.38.38 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 08:38:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbuc2 with SMTP id uc2so9709073lbb.2 for <patchwork-forward@linaro.org>; Wed, 03 Jun 2015 08:38:38 -0700 (PDT) X-Received: by 10.152.6.69 with SMTP id y5mr32148300lay.72.1433345918459; Wed, 03 Jun 2015 08:38:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3955865lbb; Wed, 3 Jun 2015 08:38:37 -0700 (PDT) X-Received: by 10.140.109.119 with SMTP id k110mr35898484qgf.53.1433345916651; Wed, 03 Jun 2015 08:38:36 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 193si931497qhx.126.2015.06.03.08.38.35 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Jun 2015 08:38:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:36269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1Z0AkV-0002l9-Jh for patch@linaro.org; Wed, 03 Jun 2015 11:38:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mjt@tls.msk.ru>) id 1Z0Aie-0000Ix-I2 for qemu-devel@nongnu.org; Wed, 03 Jun 2015 11:36:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mjt@tls.msk.ru>) id 1Z0Aib-0004iP-3l for qemu-devel@nongnu.org; Wed, 03 Jun 2015 11:36:40 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:44023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mjt@tls.msk.ru>) id 1Z0Aia-0004hE-T3; Wed, 03 Jun 2015 11:36:37 -0400 Received: from tsrv.tls.msk.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id E4A07407D1; Wed, 3 Jun 2015 18:36:33 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.tls.msk.ru (Postfix) with SMTP id 2697EA5F; Wed, 3 Jun 2015 16:08:54 +0300 (MSK) Received: (nullmailer pid 27434 invoked by uid 1000); Wed, 03 Jun 2015 13:08:52 -0000 From: Michael Tokarev <mjt@tls.msk.ru> To: qemu-devel@nongnu.org Date: Wed, 3 Jun 2015 16:08:31 +0300 Message-Id: <f19377bf234a3359b0a03844822e97de80ad4f30.1433336870.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.1.4 In-Reply-To: <cover.1433336870.git.mjt@msgid.tls.msk.ru> References: <cover.1433336870.git.mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Michael Tokarev <mjt@tls.msk.ru>, Shannon Zhao <shannon.zhao@linaro.org>, Shannon Zhao <zhaoshenglong@huawei.com> Subject: [Qemu-devel] [PULL 11/30] hw/ppc/e500.c: Fix memory leak X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mjt@tls.msk.ru X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index c10e1b5..d300846 100644 --- a/hw/ppc/e500.c +++ b/hw/ppc/e500.c @@ -1030,6 +1030,7 @@ void ppce500_init(MachineState *machine, PPCE500Params *params) exit(1); } } + g_free(filename); /* Reserve space for dtb */ dt_base = (loadaddr + bios_size + DTC_LOAD_PAD) & ~DTC_PAD_MASK;