[dpdk-stable] [PATCH v4 1/2] lib/cmdline: release cl when cmdline exit

Olivier Matz olivier.matz at 6wind.com
Fri Oct 15 14:58:11 CEST 2021


On Wed, Oct 13, 2021 at 01:52:22AM +0000, zhihongx.peng at intel.com wrote:
> 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: stable at dpdk.org

As said by Dmitry, we should not backport this fix to avoid breaking
external apps.

> Signed-off-by: Zhihong Peng <zhihongx.peng at intel.com>

I suggest to merge the 2 patches in one, because the second is mandatory
when the first one is applied.

Thanks Zhihong, and thanks Dmitry for the previous review.


More information about the stable mailing list