From 6e50e33aea6062df5c06652fe3617cb8b5df5e3b Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 15 Dec 2016 14:57:04 +0100 Subject: util/broadcom: Close file after use Change-Id: Ieea7ac7fbc618cd12f843f1606f9ebab37cae67e Signed-off-by: Patrick Georgi Found-by: Coverity Scan #1323508 Reviewed-on: https://review.coreboot.org/17879 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/broadcom/secimage/misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/broadcom') diff --git a/util/broadcom/secimage/misc.c b/util/broadcom/secimage/misc.c index fa9f8c5088..0d0cf0be80 100644 --- a/util/broadcom/secimage/misc.c +++ b/util/broadcom/secimage/misc.c @@ -53,5 +53,6 @@ void FillHeaderFromConfigFile(char *h, char *ConfigFileName) h1->Reserved = Reserved; } } + fclose(fp); } } -- cgit v1.2.3