From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v3] eal: fix resource leak Date: Wed, 11 Oct 2017 14:43:39 +0200 Message-ID: <2376015.Aqjpq7JAko@xps> References: <20170922144820.16590-1-danielx.t.mrzyglod@intel.com> <20171011115353.40043-1-danielx.t.mrzyglod@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, dev@dpdk.org To: Daniel Mrzyglod Return-path: In-Reply-To: <20171011115353.40043-1-danielx.t.mrzyglod@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 11/10/2017 13:53, Daniel Mrzyglod: > Memory allocated in strdup is not free. > > Coverity issue: 143257 > Fixes: d8a2bc71dfc2 ("log: remove app path from syslog id") > Cc: thomas@monjalon.net > Cc: stable@dpdk.org > > Signed-off-by: Daniel Mrzyglod Given this recent commit: http://dpdk.org/commit/e3f141879ef I think we should consider this issue as a false positive. The arguments given to rte_eal_init may be freed. So it's better to strdup them, even if it is never freed.