Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1422415ybk; Thu, 21 May 2020 06:35:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDfdQrgib+NmM0m6M0oxFAzsNfLNp0NznMBFdG6Z8g7hPG990ZfA3OvOIkdlXsqQYkry72 X-Received: by 2002:a17:906:af47:: with SMTP id ly7mr3701640ejb.98.1590068129286; Thu, 21 May 2020 06:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590068129; cv=none; d=google.com; s=arc-20160816; b=dUfinjZclH+mvJBZLFqmfPjzL3cyjFhplDn6CCEWkKDYs/zNKZ4g4iNGZ7ywgPab79 rP6J+6DMe7r1Kioij9vwauahVMywcTUCinJMmhtVRuGpZUm4Wd+9kpRnrmsXnNP73mz/ P88ArbGcgbZcnkTLA1tyNo5/XLfKFMWsJTdvr0qABbudwYlclcX0+lcahxBKdWuFpqjR ozYBfFP3UFm8jvrBbdyibMC9dxXpG9diYZytwu7CbG2Tqm6twGKDwmiCvgL8GpMCvedP O6LHOssknv8FfCDash5tfu9831Hks6suNI9i6Hr4JEkV3385B8Xu4TDbCmvcbx8UH/JS We4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=jdVC7YX+zNp+GgKkvt9koBHXVtz4nwzQnKEQoHEiHIM=; b=wFmu+RaD9xnTzclagbRGsXatMwEMCs88a1v6j3dXsd/oU4UsGeJGWb3Ex/IdijJ/K8 6BCQHbz029SkGZvK8QHiuP1BnLstyq0eEZt7RV38oQAmJ/SxTv3u6hlFxzGOb6aipMF/ M6KNOhQbdliau8Bu1sve4SJVM+/1Pdkp7VC27ebBGQ8qgxo77MY0iDzos/tcl97VDy7j BsAjlGBJAzcoVj20linLSTFQWn7ubaap52O2cttsNbu3x2d9f/Bgjp5lzSc/ddnfsZfz NtKyRTrBWVX8+9bb6QsY1v0HTYQ06As88sQ/26BXh+y2Dmn1dzJ56itbPCWjmvYDKrRb CUwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si3128010ejr.75.2020.05.21.06.35.06; Thu, 21 May 2020 06:35:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729511AbgEUNdV (ORCPT + 99 others); Thu, 21 May 2020 09:33:21 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4877 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729497AbgEUNdT (ORCPT ); Thu, 21 May 2020 09:33:19 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id D6B1EC6BA5F8B4BE7E53; Thu, 21 May 2020 21:33:03 +0800 (CST) Received: from euler.huawei.com (10.175.124.27) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Thu, 21 May 2020 21:32:56 +0800 From: Wei Li To: Alexander Shishkin , "Arnaldo Carvalho de Melo" , Jiri Olsa , Mark Rutland , Namhyung Kim CC: , Li Bin , "Xie XiuQi" , Hongbo Yao Subject: [PATCH 0/4] perf: Fix memory errors Date: Thu, 21 May 2020 21:32:14 +0800 Message-ID: <20200521133218.30150-1-liwei391@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.124.27] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix several memory errors in perf tool. Hongbo Yao (1): perf metrictroup: Fix memory leak of metric_events Li Bin (2): perf svghelper: Fix memory leak in svg_build_topology_map perf util: Fix potential segment fault in put_tracepoints_path Xie XiuQi (1): perf util: Fix memory leak of prefix_if_not_in tools/perf/util/metricgroup.c | 3 +++ tools/perf/util/sort.c | 2 +- tools/perf/util/svghelper.c | 10 +++++++--- tools/perf/util/trace-event-info.c | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) -- 2.17.1