mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
[BZ #15859] Fix memory leak in _dl_map_object_deps
This commit is contained in:
committed by
Ondřej Bílka
parent
5bb43a4319
commit
f5f4e7b48b
@ -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 *));
|
||||
|
Reference in New Issue
Block a user