Re: [dpdk-dev] [PATCH] linuxapp/eal: fix memory leak

2017-10-23 Thread Ferruh Yigit
On 9/20/2017 3:08 AM, Yong Wang wrote: > In func rte_eal_init(), dynamic memory stored in 'logid' allocated > through func 'strdup' is lost when return. Fix it by freeing the memory > before return. Hi Yong, This seems duplicate of http://dpdk.org/dev/patchwork/patch/29112/ Please check followin

[dpdk-dev] [PATCH] linuxapp/eal: fix memory leak

2017-09-20 Thread Yong Wang
In func rte_eal_init(), dynamic memory stored in 'logid' allocated through func 'strdup' is lost when return. Fix it by freeing the memory before return. Signed-off-by: Yong Wang --- lib/librte_eal/linuxapp/eal/eal.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff