firmware-utils: fix possible memory leak and resource leak
Add missing calls to `free` for variable `buffer`. This could lead to a memory leak. Add missing call to `close` for file pointer `fdin`. This could lead to a resource leak. Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>master
parent
402b362db4
commit
0ae0f48cec
Loading…
Reference in New Issue