Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1515916pxb; Fri, 20 Aug 2021 07:20:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM2W9lyaCVfqvqpmMLBh5pL4wDljmlPN1KZf5M8anBY5JNZL5+ad1Yxi4Ru27kEbL1OutY X-Received: by 2002:a5e:d905:: with SMTP id n5mr16330700iop.136.1629469225016; Fri, 20 Aug 2021 07:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629469225; cv=none; d=google.com; s=arc-20160816; b=ww9vmn+B/dixE3sOKDRWhhijI1TJ/ScW3UseQo1+qvjtuFhpJw2lkZaYh55J9wNhPC 5yA0bCrpjQX1P8SOJzviSsL72zw5NFZdD4Mqga481Ru/57nEdpJx0Xg0ZKbcygKDB654 1nANK5Lyo+iFBrWOl2eMNOzPj3Uz8+pSZw+g8DrdzpOBN+zpgmlAWmPZaxxG2CrD3efo 4JpZsWePNmcY50S1PvsYCQE0dHpFcBhOGGIJZez3dqAm9/3OsQ+AZq+GPI9k8AKKETtM IR6UarsnLWZmwqATG2u/ELRjKGgOnG3NTXfNe81q2Dihs24bUv9Frke9gP8J+r3JUxGO 3pXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6XciJoGocd/5K9coseJPr7pG9grodJ8BInHCk80wDSE=; b=P/FyjGb5Fjg/CSP+SBt26lQGbN/5uIe8LR0iCakGI3BTOlyRijcjPyfULtC5BL2fnh OKXsUNyOVhkLydeY5E7APsLEKmK1WNDx1F/8CM5DvTkVag2fjTveOI7kYwU/anJy1Eqt j+z9g9m/6Tu6gfsO/hgYU8jqSxSQ4p7CwPaA7m0eA4kgg7WE+gTq5hfbiMmFTwuatNck 3LBdj8Uvs9jE9UurUVXiA2WOHbzMMVwHbRZ3KIr0INYU7tIWmRbNoUJwc1NuY6l4tiPO kKT6a0cDiCxxjq3LAUJ2BwMkUG0GJp2S6DtCgYKS1pHELMEcQltegk43/BSQvMtP9Iw6 AIWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jz6MZgqF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si7816241ilu.53.2021.08.20.07.20.13; Fri, 20 Aug 2021 07:20:25 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jz6MZgqF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240832AbhHTOSf (ORCPT + 99 others); Fri, 20 Aug 2021 10:18:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:36492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240831AbhHTOSe (ORCPT ); Fri, 20 Aug 2021 10:18:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BF40261101; Fri, 20 Aug 2021 14:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629469077; bh=3Id4i7Vn9AJMZd9GzoZIT4B2cIhgTAM9VcXua81KObk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Jz6MZgqF4JMu1jNPrJEBkIeOYHd7xGaNsBNhJbQF6p5AND9uKXOOazw6LzY51nvcB iMgbBD6b1D7CuM4fXZJl8jO40fgmCn5KaoQZnyYVuHwa9PTSfMg9+PvKupwi9sxqip 7HeIAlNoEtX25Xrk+d0OuQRXiMCo+pXnOqcgdVP+lcLxjp7UEBjT1Pm7yVZlVv9Pyy EekjMd9zCYxM/fx3QK6F4upMJTpabGJa47vgu6/RbA9/j02H1t/fZ5DMdECw0dtHh3 Sw9a2cZFpl3ElWZX/Qg9lqiyi+0PIGj0v/9RSFvcmM4TsjvI52DxMSJ87Dhtbbwhb4 0vKg9YUfnBMEQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E38DC4007E; Fri, 20 Aug 2021 11:17:53 -0300 (-03) Date: Fri, 20 Aug 2021 11:17:53 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Riccardo Mancini , Ian Rogers , Namhyung Kim , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf tests: dlfilter: free desc and long_desc in check_filter_desc Message-ID: References: <20210820113132.724034-1-rickyman7@gmail.com> <1c426e33-d918-23d4-59ca-b96071491933@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1c426e33-d918-23d4-59ca-b96071491933@intel.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Aug 20, 2021 at 03:29:39PM +0300, Adrian Hunter escreveu: > On 20/08/21 2:31 pm, Riccardo Mancini wrote: > > In dlfilter-test, the function check_filter_desc calls get_filter_desc > > which allocates desc and long_desc. > > However, these variables are never deallocated. > > > > This patch adds the missing frees. > > > > Cc: Adrian Hunter > > Fixes: 9f9c9a8de2d5e96c ("perf tests: Add dlfilter test") > > Signed-off-by: Riccardo Mancini > > Acked-by: Adrian Hunter Thanks, applied. - Arnaldo