aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mksenaofw.c
diff options
context:
space:
mode:
authorAndrea Dalla Costa <andrea@dallacosta.me>2020-01-11 23:27:17 +0100
committerJo-Philipp Wich <jo@mein.io>2020-01-14 17:48:50 +0100
commitb886d3c8f3d852a5d5bfcb41f439a808d9aa2d58 (patch)
treef39ac6a3aa7675112bf303f962a0b35e62b8d77e /tools/firmware-utils/src/mksenaofw.c
parent8e3b3152e5402b574ff66b149cfdc6e42d61db54 (diff)
downloadupstream-b886d3c8f3d852a5d5bfcb41f439a808d9aa2d58.tar.gz
upstream-b886d3c8f3d852a5d5bfcb41f439a808d9aa2d58.tar.bz2
upstream-b886d3c8f3d852a5d5bfcb41f439a808d9aa2d58.zip
firmware-utils/mkfwimage: fix possible memory and resource leak
Add missing calls to `free` for variable `mem`. Add missing call to `fclose` for variable `f`. The same changes were made in both `mkfwimage.c` and `mkfwimage2.c`. Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>
Diffstat (limited to 'tools/firmware-utils/src/mksenaofw.c')
0 files changed, 0 insertions, 0 deletions