[PATCH 1/1] hush: avoid NULL check before free()
Tom Rini
trini at konsulko.com
Fri May 1 23:57:18 CEST 2020
On Tue, Apr 28, 2020 at 09:56:10PM +0200, Heinrich Schuchardt wrote:
> free() checks if its argument is NULL. Don't duplicate this in the calling
> code.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>
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/e00be0ba/attachment.sig>
More information about the U-Boot
mailing list