Re: [dpdk-dev] [PATCH v5] lib/cmdline: release cl when cmdline exit

2021-10-22 Thread Thomas Monjalon
20/10/2021 09:03, Olivier Matz: > On Mon, Oct 18, 2021 at 05:29:35PM +0300, Dmitry Kozlyuk wrote: > > 2021-10-18 21:58 (UTC+0800), zhihongx.p...@intel.com: > > > From: Zhihong Peng > > > > > > Malloc cl in the cmdline_stdin_new function, so release in the > > > cmdline_stdin_exit function is logi

Re: [dpdk-dev] [PATCH v5] lib/cmdline: release cl when cmdline exit

2021-10-20 Thread Peng, ZhihongX
> -Original Message- > From: Peng, ZhihongX > Sent: Monday, October 18, 2021 9:59 PM > To: olivier.m...@6wind.com; dmitry.kozl...@gmail.com > Cc: dev@dpdk.org; Peng, ZhihongX > Subject: [PATCH v5] lib/cmdline: release cl when cmdline exit > > From: Zhihong Peng > > Malloc cl in the cmd

Re: [dpdk-dev] [PATCH v5] lib/cmdline: release cl when cmdline exit

2021-10-20 Thread Olivier Matz
On Mon, Oct 18, 2021 at 05:29:35PM +0300, Dmitry Kozlyuk wrote: > 2021-10-18 21:58 (UTC+0800), zhihongx.p...@intel.com: > > From: Zhihong Peng > > > > Malloc cl in the cmdline_stdin_new function, so release in the > > cmdline_stdin_exit function is logical, so that cl will not be > > released alo

Re: [dpdk-dev] [PATCH v5] lib/cmdline: release cl when cmdline exit

2021-10-18 Thread Dmitry Kozlyuk
2021-10-18 21:58 (UTC+0800), zhihongx.p...@intel.com: > From: Zhihong Peng > > Malloc cl in the cmdline_stdin_new function, so release in the > cmdline_stdin_exit function is logical, so that cl will not be > released alone. > > Fixes: af75078fece3 ("first public release") > Cc: intel.com > > S

[dpdk-dev] [PATCH v5] lib/cmdline: release cl when cmdline exit

2021-10-18 Thread zhihongx . peng
From: Zhihong Peng Malloc cl in the cmdline_stdin_new function, so release in the cmdline_stdin_exit function is logical, so that cl will not be released alone. Fixes: af75078fece3 ("first public release") Cc: intel.com Signed-off-by: Zhihong Peng --- app/test/test.c|