summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-12-15 14:57:04 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-12-16 15:55:33 +0100
commit6e50e33aea6062df5c06652fe3617cb8b5df5e3b (patch)
treee0066b75c3fc605d009a5f2c37872e5cfb441dd7 /util
parent856a3ab7c7c216a90b8ae45d6a0931a8eb3b7d20 (diff)
downloadcoreboot-6e50e33aea6062df5c06652fe3617cb8b5df5e3b.tar.xz
util/broadcom: Close file after use
Change-Id: Ieea7ac7fbc618cd12f843f1606f9ebab37cae67e Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Found-by: Coverity Scan #1323508 Reviewed-on: https://review.coreboot.org/17879 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/broadcom/secimage/misc.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}