+2007-01-30 Ulrich Drepper <drepper@redhat.com>
+
+ * nlist.c: Close file descriptor before returning.
+
2006-10-13 Roland McGrath <roland@redhat.com>
* elf32_updatenull.c: Look for and accept phdr also for ET_CORE.
/* We do not need the ELF descriptor anymore. */
(void) INTUSE(elf_end) (elf);
+ /* Neither the file descriptor. */
+ (void) close (fd);
+
return 0;
fail_dealloc:
/* We do not need the ELF descriptor anymore. */
(void) INTUSE(elf_end) (elf);
+ /* Neither the file descriptor. */
+ (void) close (fd);
+
fail:
/* We have to set all entries to zero. */
while (nl->n_name != NULL && nl->n_name[0] != '\0')