aboutsummaryrefslogtreecommitdiffstats
path: root/tools/patchelf
diff options
context:
space:
mode:
authorAndrea Dalla Costa <andrea@dallacosta.me>2020-01-11 22:41:31 +0100
committerJo-Philipp Wich <jo@mein.io>2020-01-14 17:48:50 +0100
commit0ae0f48cec08e4698e678f5e145533209491e855 (patch)
tree6f06794e3dcadf3b13b6d6eff38946939167fe8e /tools/patchelf
parent402b362db447c8163b4069537753b1ede3533d18 (diff)
downloadupstream-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 'tools/patchelf')
0 files changed, 0 insertions, 0 deletions