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

From: Markus Elfring
Date: Fri May 08 2020 - 06:18:51 EST


> Btw, these leaks are totally harmless. This is a short running user
> space program with is going to immediately exit on error so the memory
> will be freed anyway.

Can such a view mean that the function call âfree(data)â should be omitted here
for a quicker program termination?


> But the benifit is to silence static checker warnings so that's useful.

Would you like to extend the commit message for the explanation of
the importance of the proposed change accordingly?

Regards,
Markus