From: Tom Rini Date: Fri, 1 May 2020 17:57:06 -0400 Subject: [PATCH 1/1] cmd/gpt: avoid NULL check before free() In-Reply-To: <20200428194013.13489-1-xypron.glpk@gmx.de> References: <20200428194013.13489-1-xypron.glpk@gmx.de> Message-ID: <20200501215706.GU12564@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini 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: