diff options
author | Vinitha Vijayan <vinitha.vijayann@gmail.com> | 2013-09-21 17:51:58 +0200 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-09-21 19:18:23 +0200 |
commit | f5f4e7b48bcc926e00913aa2ae6da19096864535 (patch) | |
tree | a2c4e48cbae7275968f22f80233584727a870445 /elf | |
parent | 5bb43a43199e2bc3f729b858d26c47e91fd56621 (diff) | |
download | glibc-f5f4e7b48bcc926e00913aa2ae6da19096864535.zip glibc-f5f4e7b48bcc926e00913aa2ae6da19096864535.tar.gz glibc-f5f4e7b48bcc926e00913aa2ae6da19096864535.tar.bz2 |
[BZ #15859] Fix memory leak in _dl_map_object_deps
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-deps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c index 1c36f50..6652f6d 100644 --- a/elf/dl-deps.c +++ b/elf/dl-deps.c @@ -595,7 +595,6 @@ Filters not supported with LD_TRACE_PRELINKING")); if (list[i]->l_reserved) { /* Need to allocate new array of relocation dependencies. */ - struct link_map_reldeps *l_reldeps; l_reldeps = malloc (sizeof (*l_reldeps) + map->l_reldepsmax * sizeof (struct link_map *)); |