> -----Original Message----- > From: Olivier Matz <[email protected]> > Sent: Friday, October 15, 2021 8:58 PM > To: Peng, ZhihongX <[email protected]> > Cc: [email protected]; [email protected]; [email protected] > Subject: Re: [PATCH v4 1/2] lib/cmdline: release cl when cmdline exit > > On Wed, Oct 13, 2021 at 01:52:22AM +0000, [email protected] wrote: > > From: Zhihong Peng <[email protected]> > > > > 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: [email protected] > > As said by Dmitry, we should not backport this fix to avoid breaking external > apps.
The v5 version will be fixed. > > Signed-off-by: Zhihong Peng <[email protected]> > > I suggest to merge the 2 patches in one, because the second is mandatory > when the first one is applied. The v5 version will be fixed > Thanks Zhihong, and thanks Dmitry for the previous review.

