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>master
parent
8e3b3152e5
commit
b886d3c8f3
Loading…
Reference in New Issue