diff options
| author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-05-18 09:08:41 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-05-18 09:08:41 +0530 |
| commit | a85cdcdb35ed693d0e6eae63dfaca0cffae12765 (patch) | |
| tree | 95203e67306085aee417918d5997b326ea55867e /malloc | |
| parent | 2317101658488102f54d4c700fd2da839b6fec29 (diff) | |
| download | glibc-a85cdcdb35ed693d0e6eae63dfaca0cffae12765.tar.xz glibc-a85cdcdb35ed693d0e6eae63dfaca0cffae12765.zip | |
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 'malloc')
0 files changed, 0 insertions, 0 deletions
