* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.

This commit is contained in:
Alan Modra 2002-06-07 15:09:21 +00:00
parent 9bab7074b0
commit eb95bb9a4e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-06-07 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
2002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
* ld/ldmain.c (main): initialize link_info.pei386_auto_import

View File

@ -349,7 +349,7 @@ gld${EMULATION_NAME}_new_vers_pattern (entry)
&& next->match == entry->match)
{
next = entry->next;
free (entry->pattern);
free ((char *) entry->pattern);
free (entry);
return next;
}