* elflink.c (elf_link_add_object_symbols): Free old_strtab
in another code path. Revert one unnecessary change in last
patch.
return true;
}
+ free (old_strtab);
+ old_strtab = NULL;
if (old_tab != NULL)
{
if (!(*bed->notice_as_needed) (abfd, info, notice_needed))
if (bed->check_directives
&& !(*bed->check_directives) (abfd, info))
- goto error_free_vers;
+ goto error_return;
/* If this is a non-traditional link, try to optimize the handling
of the .stab/.stabstr sections. */