Message ID | 20181116213045.19825-2-palmer@sifive.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 C839F14BD for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 16 Nov 2018 21:32:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7FD32D423 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 16 Nov 2018 21:32:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98FEE2D607; Fri, 16 Nov 2018 21:32:38 +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 F0E282D423 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 16 Nov 2018 21:32:37 +0000 (UTC) Received: from localhost ([::1]:47055 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 1gNljA-0001CT-K4 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 16 Nov 2018 16:32:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <palmer@sifive.com>) id 1gNlhd-0000Ge-7O for qemu-devel@nongnu.org; Fri, 16 Nov 2018 16:31:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <palmer@sifive.com>) id 1gNlha-0001f3-7S for qemu-devel@nongnu.org; Fri, 16 Nov 2018 16:31:01 -0500 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:40583) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <palmer@sifive.com>) id 1gNlha-0001ej-1f for qemu-devel@nongnu.org; Fri, 16 Nov 2018 16:30:58 -0500 Received: by mail-pl1-x62e.google.com with SMTP id b22-v6so6273515pls.7 for <qemu-devel@nongnu.org>; Fri, 16 Nov 2018 13:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=subject:date:message-id:in-reply-to:references:cc:from:to; bh=kKTGbZL7bN1GM/CR1Si/5nLh5T86DrU/+KfJ0CFSfOM=; b=NRHTo6eVE6EJYYoe6vqcgkRmYG46Tu4n2iwtRfpaykDHp1e9HbjALDVjsltbX8nVX6 HNjBBESzeNxgMlJrf9KYNg3F5lCnr35/gbm9mAl2syuNRHHNRQQSoMRB2mDiOzCU14Zk zbWfLroieznE7Je9PZzQjylm9zR57gD2qQf4TyNbX9Bx+0D8gVs4MgVodsYv+0BdSPMU MK0JFpx9rS1yskfAsRLHmKrpS00LHQgGDe3b7K8wYNcfoLnwj5H/tdQi7/r9+SM0u5qt wMseaAlOMPJGj/62sf+3HQIKmFstGeLJ7cfnJRrwGvF0ZbyMQo4zHu6/8xQ92j05cxXv I5aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :cc:from:to; bh=kKTGbZL7bN1GM/CR1Si/5nLh5T86DrU/+KfJ0CFSfOM=; b=irdlqh5g7KU9Wm3t4VKNCBKopbbss8Jii5yoTn+cMWXZBbx1K6KAtZxv2pSPxQSjMT IOEjqRWqSTGMWX9j2WFv6L30PLRipeuNrOWEpqIu/w83Th5XDPXR7buva2xAiMSUkLYy f3IUxEkMlj4NIlLd+eFzDgkZJiPX/3kuIvgAOoCKfZ/dPuLyzf848ZbtmDklq54Dg+2p 2hjE3rebB8TcJgmihcu0FuhnWdlISDP1SsPz6BeQRJ/ig0POW4TGMGo9I7s4+y/DzJ8u AsQ7bOHoTEV9enlfLAHovvymAUJLmVGajJfvylA792YuFY/IRaQL04RIp0cQYMwS3Ysz mxqg== X-Gm-Message-State: AA+aEWb+b4FZP6CIcWbu0Dw6UmUNv5x3ApObZqmncciczh8zLWl68HqY R4Go4nQjXaefqv6yEpv1yVMRz3YWdWokVA== X-Google-Smtp-Source: AFSGD/U3O8zofWxV1LRzF6zDSpHQNOjs7rz6rAniSVqSnya6Svhqd94XysJYee0tJpBfRGvn1QLwSQ== X-Received: by 2002:a17:902:1681:: with SMTP id h1mr2188519plh.129.1542403856709; Fri, 16 Nov 2018 13:30:56 -0800 (PST) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id w10-v6sm37168621pfg.1.2018.11.16.13.30.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 13:30:55 -0800 (PST) Date: Fri, 16 Nov 2018 13:30:41 -0800 Message-Id: <20181116213045.19825-2-palmer@sifive.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181116213045.19825-1-palmer@sifive.com> References: <20181116213045.19825-1-palmer@sifive.com> From: Palmer Dabbelt <palmer@sifive.com> To: Peter Maydell <peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::62e Subject: [Qemu-devel] [PULL 1/4] hw/riscv/virt: Free the test device tree node name 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: Alistair Francis <alistair.francis@wdc.com>, Palmer Dabbelt <palmer@sifive.com>, qemu-riscv@nongnu.org, qemu-devel@nongnu.org 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 |
[PULL,1/4] hw/riscv/virt: Free the test device tree node name
|
expand
|
diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index 4a137a503c8a..2b38f890702c 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -240,6 +240,7 @@ static void *create_fdt(RISCVVirtState *s, const struct MemmapEntry *memmap, qemu_fdt_setprop_cells(fdt, nodename, "reg", 0x0, memmap[VIRT_TEST].base, 0x0, memmap[VIRT_TEST].size); + g_free(nodename); nodename = g_strdup_printf("/uart@%lx", (long)memmap[VIRT_UART0].base);