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

Thomas Monjalon thomas at monjalon.net
Fri Oct 22 23:33:07 CEST 2021


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.peng at intel.com:
> > > From: Zhihong Peng <zhihongx.peng at intel.com>
> > > 
> > > 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 <zhihongx.peng at intel.com>
> > 
> > Reviewed-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks.





More information about the dev mailing list