mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
2001-09-08 Ulrich Drepper <drepper@redhat.com> * elf/dl-object.c: Avoid allocating extra memory block for name. * elf/dl-close.c (_dl_close): Don't free l_libname if it is no allocated separately. * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
This commit is contained in:
@@ -254,7 +254,8 @@ _dl_close (void *_map)
|
||||
{
|
||||
struct libname_list *this = lnp;
|
||||
lnp = lnp->next;
|
||||
free (this);
|
||||
if (!this->dont_free)
|
||||
free (this);
|
||||
}
|
||||
while (lnp != NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user