[PATCH 1/1] cmd/gpt: avoid NULL check before free()

Tom Rini trini at konsulko.com
Fri May 1 23:57:06 CEST 2020


On Tue, Apr 28, 2020 at 09:40:13PM +0200, Heinrich Schuchardt wrote:

> free() checks if its argument is NULL. Do not duplicate this in the calling
> code.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Tom Rini <trini at konsulko.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/20200501/0af35b81/attachment.sig>


More information about the U-Boot mailing list