Message ID | 20181011203115.18666-10-alistair.francis@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FD5269B1 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 11 Oct 2018 20:38:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BEF52C111 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 11 Oct 2018 20:38:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FD7F2C114; Thu, 11 Oct 2018 20:38:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 435782C113 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 11 Oct 2018 20:38:58 +0000 (UTC) Received: from localhost ([::1]:37015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gAhjV-0003K3-IZ for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Oct 2018 16:38:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <prvs=815999a97=Alistair.Francis@wdc.com>) id 1gAhdC-0006wn-T4 for qemu-devel@nongnu.org; Thu, 11 Oct 2018 16:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <prvs=815999a97=Alistair.Francis@wdc.com>) id 1gAhd6-0006sY-Us for qemu-devel@nongnu.org; Thu, 11 Oct 2018 16:32:25 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:29209) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <prvs=815999a97=Alistair.Francis@wdc.com>) id 1gAhd4-0006me-3w for qemu-devel@nongnu.org; Thu, 11 Oct 2018 16:32:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1539289938; x=1570825938; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=FWFhlRipgVptiv8XyRTEYSxZ4yqNvS6tq0P7TnxVfR4=; b=FY8pGEiBRVj3DKvQH6QpSeGyYoL66NxhL6bfkAkpM7kQ1J6HQOo5W2XM l13OmJ9e42RNti0P8MJQ4LTtIVkiMtvog0mwobmTthoiHWKq+4VOEzd/O mgFR3DGCfZDp3q1rU+hmCmd6u/cCkUubvxy15biFpFnM1PYxMOi3l0zRq JF+yB3VaIj4zuLyMoIpdkTD2lmqjlF8oje2StGyuQFDan34SDnXoNPzRv Bbcw8e5NaM8UjE5OYovY1dDbq2Z2SXFb1jyjLVcQFp0huK6pDZ3waWrpX muVJHzVmqrP84e3s4jpv/XgCSdihcoIKR9ZfazWckAGTilAJ/ULUa7dL7 g==; X-IronPort-AV: E=Sophos;i="5.54,369,1534780800"; d="scan'208";a="91781689" Received: from mail-by2nam03lp0049.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.49]) by ob1.hgst.iphmx.com with ESMTP; 12 Oct 2018 04:32:13 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FWFhlRipgVptiv8XyRTEYSxZ4yqNvS6tq0P7TnxVfR4=; b=dEdWClvAA1MKW+Df7drl4Y/MFOCIk2WvYkiCqFzMmYRqca8ZYccGWJQ03pgx2ZD8Q7FFV2f0qIwYFPgU4mXWKgYXVhqxaFWReTZOFTL7Qy8/dktpWyKhYPIfYn2W5SRh+JdgkjKNnV1y+fueZxedImO+NoEzOg6FkFqw5NrxtvE= Received: from CY4PR04MB0392.namprd04.prod.outlook.com (10.173.188.145) by CY4PR04MB1224.namprd04.prod.outlook.com (10.173.193.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.26; Thu, 11 Oct 2018 20:32:11 +0000 Received: from CY4PR04MB0392.namprd04.prod.outlook.com ([fe80::ddab:bdc2:6bc7:6d22]) by CY4PR04MB0392.namprd04.prod.outlook.com ([fe80::ddab:bdc2:6bc7:6d22%6]) with mapi id 15.20.1228.020; Thu, 11 Oct 2018 20:32:11 +0000 From: Alistair Francis <Alistair.Francis@wdc.com> To: "peter.maydell@linaro.org" <peter.maydell@linaro.org> Thread-Topic: [PULL 09/10] RISC-V: Add missing free for plic_hart_config Thread-Index: AQHUYaF859Ze9JttAU2NfL52fwiUpA== Date: Thu, 11 Oct 2018 20:32:11 +0000 Message-ID: <20181011203115.18666-10-alistair.francis@wdc.com> References: <20181011203115.18666-1-alistair.francis@wdc.com> In-Reply-To: <20181011203115.18666-1-alistair.francis@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: SG2PR01CA0126.apcprd01.prod.exchangelabs.com (2603:1096:4:40::30) To CY4PR04MB0392.namprd04.prod.outlook.com (2603:10b6:903:b1::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alistair.Francis@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [199.255.44.250] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR04MB1224; 6:agIvacvpC1mmofzXopXDKUfjbHFZXlQCPscb3op6i/bkoIqrWN8IbVjD1Qr3CApx0QATnxmcCxPJ72nKaPsAQh9/pz6AJXhSOO1MqgUGUxMyTB3O6HQU42qBt60I9BR4R4202WmsvwoyzkyBsHdQ7DcplBUY9U4mtkRYsXsixShg4wFIFyYLSXN87NK5HL0/k0qnyaII5tMamWyIUqeEXLavgzrGDpjFSIrY4TfaDdNyuoD12sNZuv1jgDcRqawmhDHNhNVAJDCvwTsFBF3e79WvCHTUglb+bcUV27AJ60irJ+Pghw1xXxjtiT+GlW8N5uz8wkwPViTOR4++4pQeN0fR1sDcMwgd9Hli0+vEUn0QWW5gg/pSPgLAC0w89znY66nvPOa29T/p3sJp6WYfBQDmBK2qm0TvWmjoSWqcNK+3cF3dff+dxpiU23xNCGoi2sYaDzZjO8FATfOVxQ41RA==; 5:qi+HfDTsqPK1eNiCRViHnDozorhxmfbahtWXJJPj1ORg+8a1MZMrWNwliPwuxrFUAiwDj/zdhgBVx/wsbD1QDwy0I54QggIBvnTOngXFBRnCpy6zcoGvpJdDby7wlp73KDZjfAdxPhcuGN1kcYmF1fu888Mh6yIB0Q1StaiOiew=; 7:8lgkyTwpY+aPDe3CbBS0Z8OKSoDX2OmVWju/pHbruDJVm2qyPdxjeocE67hrdxpC1ng8qpRoDy0nWZ1K/okt+3pMxxZ6s0Z9LcdNBXkIaRsrZQSYAHuEStCS40Zo2c2Jd4N1bmaZ4As7I/+hdvzV86Pk7DoSAfOwsHUPpTfbLZ4XoyowmhB5sawrvWMqE0hUQRiilmuKiRUPLB+RnVtr+x7YrrlvnB0fpbIuD9EY0kKeRShOWproSYqQccYzm5Kw x-ms-office365-filtering-correlation-id: 57c85703-9d5b-47e1-d928-08d62fb89f00 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:CY4PR04MB1224; x-ms-traffictypediagnostic: CY4PR04MB1224: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: <CY4PR04MB12247EF65BC40E066521A0AF90E10@CY4PR04MB1224.namprd04.prod.outlook.com> x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051); SRVR:CY4PR04MB1224; BCL:0; PCL:0; RULEID:; SRVR:CY4PR04MB1224; x-forefront-prvs: 08220FA8D6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(346002)(376002)(39860400002)(366004)(136003)(199004)(189003)(81156014)(8936002)(68736007)(36756003)(6506007)(86362001)(7736002)(6916009)(8676002)(105586002)(76176011)(2906002)(256004)(81166006)(50226002)(54906003)(5660300001)(5640700003)(6486002)(1076002)(4326008)(52116002)(486006)(11346002)(2900100001)(102836004)(2501003)(99286004)(2616005)(6436002)(478600001)(72206003)(44832011)(476003)(186003)(97736004)(2351001)(25786009)(71190400001)(53936002)(3846002)(14454004)(386003)(106356001)(316002)(6512007)(446003)(305945005)(71200400001)(26005)(66066001)(6116002)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR04MB1224; H:CY4PR04MB0392.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-microsoft-antispam-message-info: k5LLW9sJBTtsF6BfkvOkG9kiKiGgylvemp0c2GC/Lvg7hf5UE8IoUC5O6qX+xWQJXWinWjicW7K8ZvI3GptzaqsVJioo6Xu5flqd9+QRBuBoWpolW4ZLqVIAvXHtOhty8Ej0IT0I4VZ+3BCbWqIPlTh9b83NyspHbAf0Bb+1oiBmJTiICKzp0rb4mh+vJWY3Jgi3dfWNMs0UOgfv5VGZUW66MRWPdHxZXVO/GNXFI9noHeHHQCjt3BVzsXLsnri8PuRGE2SiB33uojGnmcHJAUo6Ip2ykSAw9+VLf27mH7G3pmHx2sn6ephOIr24Krbz7ll6p9kXgkxq3Qsm38CE4YZDMlpQEUubxV08XaV7onI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <6C72D3A98312064CB875AE9ED8314FB7@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57c85703-9d5b-47e1-d928-08d62fb89f00 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2018 20:32:11.2789 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR04MB1224 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 216.71.154.42 Subject: [Qemu-devel] [PULL 09/10] RISC-V: Add missing free for plic_hart_config X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Palmer Dabbelt <palmer@sifive.com>, "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>, Michael Clark <mjc@sifive.com>, Alistair Francis <Alistair.Francis@wdc.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
riscv-pullreq queue
|
expand
|
diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index 6d91810bcf..3f30eb74d2 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -457,6 +457,8 @@ static void riscv_virt_board_init(MachineState *machine) serial_mm_init(system_memory, memmap[VIRT_UART0].base, 0, qdev_get_gpio_in(DEVICE(s->plic), UART0_IRQ), 399193, serial_hd(0), DEVICE_LITTLE_ENDIAN); + + g_free(plic_hart_config); } static void riscv_virt_board_machine_init(MachineClass *mc)