Re: [PATCH] kexec-tools:Add some necessary free() calls

2021-10-05 Thread Simon Horman
On Wed, Sep 29, 2021 at 04:11:57PM +0800, Kai Song wrote: > free should be called before the function exit abnormally. > > Signed-off-by: Kai Song Thanks, applied. ___ kexec mailing list kexec@lists.infradead.org

[PATCH] kexec-tools:Add some necessary free() calls

2021-09-29 Thread Kai Song
free should be called before the function exit abnormally. Signed-off-by: Kai Song --- kexec/kexec-uImage.c | 10 -- util_lib/elf_info.c | 4 +++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/kexec/kexec-uImage.c b/kexec/kexec-uImage.c index 4be..016be10 100644