[dpdk-dev] [dpdk-stable] [PATCH v3] eal: fix resource leak

Thomas Monjalon thomas at monjalon.net
Wed Oct 11 14:43:39 CEST 2017

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 at monjalon.net
> Cc: stable at dpdk.org
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>

Given this recent commit:
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.

More information about the dev mailing list