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)
commitd0ff29562959562559631147e20b4b63a38a67b7
tree27fd9ec69e8418ff94a7c32aac0cd1baae2c55b6
parentbc1f13e82624dd55a1782fe468faee82079285dc
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>
src/mktitanimg.c