summaryrefslogtreecommitdiff
path: root/kexec/libfdt/fdt_strerror.c
diff options
context:
space:
mode:
authorLichen Liu <lichliu@redhat.com>2022-03-30 19:09:51 +0800
committerSimon Horman <horms@verge.net.au>2022-03-30 19:32:31 +0200
commit36805fe6ba339a02fa177467f753604d8cbf7b15 (patch)
tree2f6fd645ad83cfa456fbc1228379ad92d887ea99 /kexec/libfdt/fdt_strerror.c
parent1b03cf7adc3c156ecab2618acb1ec585336a3f75 (diff)
kexec-tools: fix leak FILE pointer.
Close fp if file size is smaller than 13 bytes. Fixes: dcfcc73c73e6 ("kexec-tools: Determine if the image is lzma commpressed") Signed-off-by: Lichen Liu <lichliu@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/libfdt/fdt_strerror.c')
0 files changed, 0 insertions, 0 deletions