mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
* elf/dl-close.c (free_slotinfo): Check for end of list and return true in this case.
This commit is contained in:
parent
b6a0a99693
commit
69f0c4d8b9
@ -1,5 +1,8 @@
|
||||
2002-02-23 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elf/dl-close.c (free_slotinfo): Check for end of list and return
|
||||
true in this case.
|
||||
|
||||
* locale/iso-639.def: Add language codes for Walloon.
|
||||
|
||||
* elf/dl-fini.c (_dl_fini): Print some final statistics on the
|
||||
|
@ -386,7 +386,11 @@ free_slotinfo (struct dtv_slotinfo_list *elemp)
|
||||
{
|
||||
size_t cnt;
|
||||
|
||||
if (elemp->next != NULL && !free_slotinfo (elemp->next))
|
||||
if (elemp == NULL)
|
||||
/* Nothing here, all is removed (or there never was anything). */
|
||||
return true;
|
||||
|
||||
if (!free_slotinfo (elemp->next))
|
||||
/* We cannot free the entry. */
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user