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

Tom Rini trini at konsulko.com
Wed Apr 29 14:48:35 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>

-- 
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/20200429/4f464d87/attachment.sig>


More information about the U-Boot mailing list