diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-02 10:35:10 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-10 18:21:41 +0000 |
commit | 967f862e47e26cd07b6b43eda6e1445f58e8989b (patch) | |
tree | c91581d86f84b7be026d7096bfba2240fa680a1b /src/console | |
parent | 3dbaf4f33646dc2e0ae9aaa8f4c8570d50a04c27 (diff) |
util/amdfwtool: Close file descriptor on error
Prevents a resource leak.
Change-Id: Id5da2df3e37cba499cd2e9a7c3ede34e4de2ed77
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1402139
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33961
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/console')
0 files changed, 0 insertions, 0 deletions