Message ID | 20190107163117.16269-21-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | aee63b07fd1c2316d96dff0a6217288a630ce147 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3692315ljp; Mon, 7 Jan 2019 08:59:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN7GWWhRYL2PZbgfbxKKbZxAx9HoXJkrwpjHTMvJZxST5KxogDLAKoteADtDcDMrhWvzQU2K X-Received: by 2002:a5d:628a:: with SMTP id k10mr13162628wru.254.1546880377719; Mon, 07 Jan 2019 08:59:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546880377; cv=none; d=google.com; s=arc-20160816; b=WZMrlpqjdjp4dFiUUYdSecwFWB86rbDg7wmPW7tM7iPIhMgMD/tZcseaZcw1icfWle LZcREBVfJ/EqMQjgKhaqLgulRJ0ZgrUvvJsUjBPN5Mw3P+CB42atXM3aH6iABGN8HBbY z9OHl0Nu70QtbvQpT5/owsOvTDm+oUmznciPx6MzPRQE+bCVu3Kx2kaTkb9XvuIw61ED DFI280spErL+MlYOs92+4TsJEHklpEud//w2D62ecFemVbGd1arqPDQFmi6Yw6r3BTlD Wjctfem65IHaebSwSNszlrMf/P5pT3N4WwBqpyo0MXGDkL0L+vHC27B1eE6Vn5FHXELd wVIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=3EDWJiaFbSIgmkYxpZHI/vzgm7ATTJ6Z/riMYlEZu88=; b=Tdj/mRnAlCFnonHkZEm3ReVMnN4T609It/4WrF5H/ul93C0ceDf/7oyG+iHvU/is/a a9ss4Wu+6eVv3raGnN4BvW3jMRjc35HZQ7ZxsHih3wWNTw8BEr+57f1KlJf7uGN+vgDX Jm84LiNsYhy+S7DL67DBXW6SI+0CRp5B9uzkoraKr5NLIte35FzEIjme+aosZSVSo6Sj DwfXO3Jgbnga+j3KwX0Gy01PhAN1c9OdslkPr/Xqm57s7caaAiuqBNROyMFYYaHFrPWD ptV52WaWTWY8+dzcEJchm5LH527hOs4iPIbC/lje4vdt0UU9rggQF6JgShOOsuex23p9 p7sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HlQnMkIW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h4si28397789wru.202.2019.01.07.08.59.37 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 07 Jan 2019 08:59:37 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HlQnMkIW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:49214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ggYFU-0002Ah-OX for patch@linaro.org; Mon, 07 Jan 2019 11:59:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1ggXob-00050x-2k for qemu-devel@nongnu.org; Mon, 07 Jan 2019 11:31:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1ggXoY-00026r-Se for qemu-devel@nongnu.org; Mon, 07 Jan 2019 11:31:48 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:33875) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1ggXoY-00022a-DR for qemu-devel@nongnu.org; Mon, 07 Jan 2019 11:31:46 -0500 Received: by mail-wm1-x341.google.com with SMTP id y185so6500503wmd.1 for <qemu-devel@nongnu.org>; Mon, 07 Jan 2019 08:31:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=3EDWJiaFbSIgmkYxpZHI/vzgm7ATTJ6Z/riMYlEZu88=; b=HlQnMkIW4jtHclKqlUfm8KoVdVLKQ9iGRoBbO6k1IAj9ed18HMRf92sj1YF1VrHHAM /HdrsYM4kkwZkBlxc1vnQIUlO/B3c+6mvHANVf96fW6OMO9qtpDI4L8BtpbW2Hbipq7y xaxYLQqtHkQQ4kcvweDZ2vrK/42kQLhWxt/7s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3EDWJiaFbSIgmkYxpZHI/vzgm7ATTJ6Z/riMYlEZu88=; b=e22BPNkLq2AaAY6enlY5y6KrqrzRFTzOmC0Xt9dL+a0BAnrqwi5wstY3HikzZ55ofu M5QtuMgnC4QgA6H0inb0PfkACUD3bRYpUWkGMyjTH5kaqShCM/WvbcfBVY1y/BIiYgSJ Mv8JzMrjW3WldeP8SaxGyMGSVmcCpDNwbi1AmZFU3V6Kmi3mMZ+juFd+RxNWxt9UIFLU /ARwyXaoz4v+PpXP8WBgiLt2BCKFCAPpVZN8/0fjPN2ZGtOwPDr5P/3oov8lNhePB5dB 5CbfDHR7BIQtSURGxXWlbOXP0w2AP9RArT5Ty1uVbGiFu9Wu8kHSoxLJiLSW1BNIakPL Gdow== X-Gm-Message-State: AJcUukdfxjzgUmVwk/s9Bgckk75OSblZuVFLe0qJc7tAZvZ/7AaM0G6Z wjxr5GZPbcFSMFDQePn8/G8u27X4DFqS/Q== X-Received: by 2002:a1c:8791:: with SMTP id j139mr8891158wmd.86.1546878704691; Mon, 07 Jan 2019 08:31:44 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id j14sm46039759wrv.96.2019.01.07.08.31.43 for <qemu-devel@nongnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Jan 2019 08:31:44 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Date: Mon, 7 Jan 2019 16:31:00 +0000 Message-Id: <20190107163117.16269-21-peter.maydell@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190107163117.16269-1-peter.maydell@linaro.org> References: <20190107163117.16269-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 Subject: [Qemu-devel] [PULL 20/37] hw/arm: versal: Plug memory leaks 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target-arm queue
|
expand
|
diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index c6feeac532f..f95fde2309b 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -130,6 +130,7 @@ static void fdt_add_gic_nodes(VersalVirt *s) 2, MM_GIC_APU_REDIST_0_SIZE); qemu_fdt_setprop_cell(s->fdt, nodename, "#interrupt-cells", 3); qemu_fdt_setprop_string(s->fdt, nodename, "compatible", "arm,gic-v3"); + g_free(nodename); } static void fdt_add_timer_nodes(VersalVirt *s) @@ -364,6 +365,7 @@ static void create_virtio_regions(VersalVirt *s) sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, pic_irq); mr = sysbus_mmio_get_region(SYS_BUS_DEVICE(dev), 0); memory_region_add_subregion(&s->soc.mr_ps, base, mr); + g_free(name); } for (i = 0; i < NUM_VIRTIO_TRANSPORT; i++) {