From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 22 Mar 2016 22:00:05 -0400 Subject: [U-Boot] [U-Boot, 11/14] mkimage: Fix missing free() and close() in fit_build() In-Reply-To: <1458135945-13385-12-git-send-email-sjg@chromium.org> References: <1458135945-13385-12-git-send-email-sjg@chromium.org> Message-ID: <20160323020005.GS23166@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 Wed, Mar 16, 2016 at 07:45:41AM -0600, Simon Glass wrote: > Make sure that both the error path and normal return free the buffer and > close the file. > > Reported-by: Coverity (CID: 138491) > Signed-off-by: Simon Glass > 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: 836 bytes Desc: Digital signature URL: