diff options
author | Andrea Dalla Costa <andrea@dallacosta.me> | 2020-01-11 22:57:58 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-08 16:07:05 +0200 |
commit | d64b20da21d796334840fe9614bb0cb572e22fda (patch) | |
tree | 0c48500751900a2b84e0ac2c7c8c20c2e45f1a3c /tools/firmware-utils/src/mkedimaximg.c | |
parent | 4a77a060ab6219f830390cd53c2817b621f39760 (diff) | |
download | upstream-d64b20da21d796334840fe9614bb0cb572e22fda.tar.gz upstream-d64b20da21d796334840fe9614bb0cb572e22fda.tar.bz2 upstream-d64b20da21d796334840fe9614bb0cb572e22fda.zip |
firmware-utils/hcsmakeimage: fix possible memory leak and resource leaks
Add missing calls to `free` for variable `filebuffer`.
Add missing calls to `fclose` for variables `fd` and `fd_out`.
Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>
Diffstat (limited to 'tools/firmware-utils/src/mkedimaximg.c')
0 files changed, 0 insertions, 0 deletions