firmware-utils/mktitanimg: fix possible resource leak
authorAndrea Dalla Costa <andrea@dallacosta.me>
Sat, 11 Jan 2020 23:05:55 +0000 (00:05 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 14 Jan 2020 16:48:50 +0000 (17:48 +0100)
commit8057970d2a32b8f5c9804855b138eceeb757b98e
treef93783a16fd1c81ac40dd1662d01bef768ef8958
parent1775f690d5e3dfc2f70c0e416c91371c848b9f25
firmware-utils/mktitanimg: fix possible resource leak

Add missing call to `fclose` for file pointer `nsp_image`.

Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>
tools/firmware-utils/src/mktitanimg.c