From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id CCC8FA0471 for ; Tue, 18 Jun 2019 11:10:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 93D771C0D3; Tue, 18 Jun 2019 11:10:52 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id EEB531BDBC; Tue, 18 Jun 2019 11:10:49 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 58945223F6; Tue, 18 Jun 2019 05:10:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 18 Jun 2019 05:10:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=MpnmFqJyyqEZN0h+8a9a+uAZt6bzaelOvO4ocq4YKu8=; b=Mb5EEUJIK1wT HxZE/y4YlAsPEs3kla/KuidsLqxwxd2vkTXIcCmRE4ooGAOLvlg6AlcsTmv2etTA qqN6e4Q94J6i6zITQnueveP2AUK93SeJZ66GMmK5J0aq9nl5OCqVDiSLMgueqMqq OZHTdDmSTZOgHj+ExV3/9iWzhciig80= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=MpnmFqJyyqEZN0h+8a9a+uAZt6bzaelOvO4ocq4YK u8=; b=D/JlmWEyfhEO2rAO0hBpm/ZJPv8XsDfv08oPs43ca+kTQPZSfYJMm196D nZnDo6xY2TdpQEt+pBYlFeOBow1Qt8OmMOkS1ooKOZIOl0+o5Dk3C/POfh1Vf/x3 RsVZRWpo6pvDIDkhKRmgWdHBT7vx/9kxxvJvF4BIsHB491sSVlL1puwC6iL47rsT PsnrsyYbZu5YIEw7Lz3r+FLIvaSDWvGJDtE+wZyVe2RYAplsgmavOTrJE4cdMdUK /pZJlMsOL2tlJLNVwWGsjdK2iLr2etZlZl+GAh1sZmez2nLLB0xlHFNS6l2QINam 0UeK5tZLDmZtabonMRnzA4y00aZ8g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiledguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeduleefrdegjedrudeihedrvdehudenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (unknown [193.47.165.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 6AC17380089; Tue, 18 Jun 2019 05:10:47 -0400 (EDT) From: Thomas Monjalon To: Reshma Pattan Cc: stable@dpdk.org, "Laatz, Kevin" , dev@dpdk.org, bruce.richardson@intel.com Date: Tue, 18 Jun 2019 12:10:45 +0300 Message-ID: <5328603.RpKcJJajzN@xps> In-Reply-To: <59c84529-e187-5445-1436-3ae0b2449a4d@intel.com> References: <20190529124317.30611-1-reshma.pattan@intel.com> <59c84529-e187-5445-1436-3ae0b2449a4d@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] lib/telemetry: fix memory leak X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 31/05/2019 15:15, Laatz, Kevin: > On 29/05/2019 13:43, Reshma Pattan wrote: > > Free the `values` pointer before returning > > from rte_telemetry_command_ports_all_stat_values() > > to avoid memory leak. > > > > Fixes: c12cefa379 ("telemetry: fix mapping of statistics") > > CC: stable@dpdk.org > > CC: bruce.richardson@intel.com > > > > Signed-off-by: Reshma Pattan > > Acked-by: Kevin Laatz Applied, thanks