diff options
author | Andrea Dalla Costa <andrea@dallacosta.me> | 2020-01-11 23:10:51 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-14 17:48:50 +0100 |
commit | 8e3b3152e5402b574ff66b149cfdc6e42d61db54 (patch) | |
tree | 73e4fc30a7af30c728f8894cade372d74286035e /tools/firmware-utils/src/buffalo-enc.c | |
parent | 0ae0f48cec08e4698e678f5e145533209491e855 (diff) | |
download | upstream-8e3b3152e5402b574ff66b149cfdc6e42d61db54.tar.gz upstream-8e3b3152e5402b574ff66b149cfdc6e42d61db54.tar.bz2 upstream-8e3b3152e5402b574ff66b149cfdc6e42d61db54.zip |
firmware-utils/mkchkimg: fix possible resource leaks
Add missing `fclose` calls for file pointers `kern_fp`, `fs_fp`
and `out_fp`.
Not closing files could lead to resource leaks.
Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>
Diffstat (limited to 'tools/firmware-utils/src/buffalo-enc.c')
0 files changed, 0 insertions, 0 deletions