From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] dpdk-procinfo: free allocated xstats memory upon failure Date: Wed, 12 Oct 2016 15:28:06 +0200 Message-ID: <6075940.GfxLY6A3UP@xps13> References: <1475599342-12338-1-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Reshma Pattan Return-path: Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by dpdk.org (Postfix) with ESMTP id E4219FFA for ; Wed, 12 Oct 2016 15:28:08 +0200 (CEST) Received: by mail-lf0-f52.google.com with SMTP id b81so74989154lfe.1 for ; Wed, 12 Oct 2016 06:28:08 -0700 (PDT) In-Reply-To: <1475599342-12338-1-git-send-email-reshma.pattan@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-10-04 17:42, Reshma Pattan: > Some of the failures cases inside the nic_xstats_display() > function doesn't free the allocated memory for the xstats and > their names, memory is freed now. > > Fixes: e2aae1c1 ("ethdev: remove name from extended statistic fetch") > Fixes: 22561383 ("app: replace dump_cfg by proc_info") > > Signed-off-by: Reshma Pattan Applied, thanks