[PATCH 1/1] env: superfluous check before free()

Tom Rini trini at konsulko.com
Wed Oct 27 00:42:11 CEST 2021


On Tue, Oct 26, 2021 at 12:41:59AM +0200, Heinrich Schuchardt wrote:

> Free() checks if its argument in NULL. There is no need for the caller to
> do the same.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211026/5220bfc5/attachment.sig>


More information about the U-Boot mailing list