lkml.org 
[lkml]   [2020]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3] tools/bootconfig: fix resource leak in apply_xbc()
From
Date


On 2020/5/8 19:03, Markus Elfring wrote:
> …
>> +++ b/tools/bootconfig/main.c
>> @@ -314,31 +314,35 @@ int apply_xbc(const char *path, const char *xbc_path)
> …
>> +free_data:
>> free(data);
> …
>
> Would any software users prefer to omit the memory release for
> a quicker program termination?
>
> Can the commit message become clearer about the explanation for
> the importance of the proposed change?
>
ok, thanks. this change can fix the warning of tools.

> Regards,
> Markus
>
>

\
 
 \ /
  Last update: 2020-05-08 13:19    [W:0.076 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site