diff options
author | Andrea Dalla Costa <andrea@dallacosta.me> | 2020-01-11 22:41:31 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-14 17:48:50 +0100 |
commit | 0ae0f48cec08e4698e678f5e145533209491e855 (patch) | |
tree | 6f06794e3dcadf3b13b6d6eff38946939167fe8e /.github | |
parent | 402b362db447c8163b4069537753b1ede3533d18 (diff) | |
download | upstream-0ae0f48cec08e4698e678f5e145533209491e855.tar.gz upstream-0ae0f48cec08e4698e678f5e145533209491e855.tar.bz2 upstream-0ae0f48cec08e4698e678f5e145533209491e855.zip |
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>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions