lkml.org 
[lkml]   [2022]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-03-02 10:10    [W:0.023 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site