From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: change to prevent memory leak in eal debug Date: Sun, 25 Oct 2015 23:41:14 +0100 Message-ID: <3260342.XgEcIzNqV4@xps13> References: <1442826047-4093-1-git-send-email-zhe.tao@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Zhe Tao Return-path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id DFC631DB1 for ; Sun, 25 Oct 2015 23:42:21 +0100 (CET) Received: by wicfv8 with SMTP id fv8so92652604wic.0 for ; Sun, 25 Oct 2015 15:42:21 -0700 (PDT) In-Reply-To: <1442826047-4093-1-git-send-email-zhe.tao@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" 2015-09-21 17:00, Zhe Tao: > Free the memory allocated by the backtrace_symbols > to prevent the memory leak > > Signed-off-by: Zhe Tao Applied, with reverted comparisons: WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test + if (NULL == symb)