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

Olivier Matz olivier.matz at 6wind.com
Wed Oct 20 09:03:21 CEST 2021


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>


More information about the dev mailing list