Messages in this thread | | | Date | Wed, 2 Mar 2022 10:09:46 +0100 (CET) | From | Miroslav Benes <> | Subject | Re: [PATCH] objtool: Fix memory leak in objtool_create_backup |
| |
Hi,
On Wed, 2 Mar 2022, cz18811105578@gmail.com wrote:
> From: Zong Cao <cz18811105578@gmail.com> > > The error handling branch did not properly free the memory before > return, which would cause memory leak.
yes, but objtool exits immediately in those cases so this is not really needed in the end.
Regards Miroslav
| |