* objcopy.c (copy_object): Fix thinko.
This commit is contained in:
parent
15550d6bec
commit
62d732f540
2 changed files with 7 additions and 8 deletions
|
@ -1,5 +1,7 @@
|
|||
2006-01-11 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* objcopy.c (copy_object): Fix thinko.
|
||||
|
||||
* objcopy.c (copy_object): Set isympp and osympp to NULL after free.
|
||||
|
||||
2006-01-09 Mike Frysinger <vapier@gentoo.org>:
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue