6ad06203a5
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") Signed-off-by: Zhihong Peng <zhihongx.peng@intel.com> Reviewed-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Olivier Matz <olivier.matz@6wind.com> Tested-by: Zhihong Peng <zhihongx.peng@intel.com>