eal/linux: fix memory leak of logid
authorZiye Yang <ziye.yang@intel.com>
Wed, 12 Sep 2018 01:31:50 +0000 (09:31 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 28 Oct 2018 10:42:18 +0000 (11:42 +0100)
commite4f2c1421d8036a4778c43bf25201ef5fb37ad6f
tree497f6a881a1f9706dd7f399b18d6ab7df6664a88
parent8721e07478c6edc9565645047742f79c654cfd1b
eal/linux: fix memory leak of logid

This patch is used to fix the memory leak issue of logid.
We use the ASAN test in SPDK when integrating DPDK and
find this memory leak issue.

Fixes: d8a2bc71dfc2 ("log: remove app path from syslog id")
Cc: stable@dpdk.org
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/eal/eal.c