Re: [PATCH v3] tools/bootconfig: fix resource leak in apply_xbc()

From: Yunfeng Ye
Date: Fri May 08 2020 - 07:19:03 EST




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
>
>