From: Tom Rini Date: Wed, 29 Apr 2020 08:48:35 -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: <20200429124835.GI4468@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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: