* objcopy.c (copy_object): Fix thinko.

This commit is contained in:
Alan Modra
2006-01-10 22:34:03 +00:00
parent 15550d6bec
commit 62d732f540
2 changed files with 7 additions and 8 deletions

View File

@ -1281,16 +1281,13 @@ copy_object (bfd *ibfd, bfd *obfd)
}
if (isympp)
{
free (isympp);
isympp = NULL;
}
free (isympp);
if (osympp != isympp)
{
free (osympp);
osympp = NULL;
}
free (osympp);
isympp = NULL;
osympp = NULL;
/* BFD mandates that all output sections be created and sizes set before
any output is done. Thus, we traverse all sections multiple times. */