aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-05-18 09:08:41 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-05-18 09:08:41 +0530
commita85cdcdb35ed693d0e6eae63dfaca0cffae12765 (patch)
tree95203e67306085aee417918d5997b326ea55867e /iconv
parent2317101658488102f54d4c700fd2da839b6fec29 (diff)
downloadglibc-a85cdcdb35ed693d0e6eae63dfaca0cffae12765.zip
glibc-a85cdcdb35ed693d0e6eae63dfaca0cffae12765.tar.gz
glibc-a85cdcdb35ed693d0e6eae63dfaca0cffae12765.tar.bz2
elf/cache.c: Fix resource leaks identified by static analyzers
A coverity run identified a number of resource leaks in cache.c. There are a couple of simple memory leaks where a local allocation is not freed before function return. Then there is a mmap leak and a file descriptor leak where a map is not unmapped in the error case and a file descriptor remains open respectively. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'iconv')
0 files changed, 0 insertions, 0 deletions