[PATCH] kexec-tools: Fix resource leaks in kexec.c

Simon Horman horms at verge.net.au
Wed Sep 2 12:27:43 EDT 2020


On Tue, Aug 25, 2020 at 04:43:23PM +0800, Youling Tang wrote:
> Add free() call when handling some error returns.
> 
> Signed-off-by: Youling Tang <tangyouling at loongson.cn>

Is there a value in cleaning up like this immediately before exiting?



More information about the kexec mailing list