mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
* objcopy.c (copy_object): Fix thinko.
This commit is contained in:
parent
15550d6bec
commit
62d732f540
@ -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;
|
||||
}
|
||||
|
||||
if (osympp != isympp)
|
||||
{
|
||||
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 New Issue
Block a user