* objcopy.c (copy_object): Fix thinko.
authorAlan Modra <amodra@gmail.com>
Tue, 10 Jan 2006 22:34:03 +0000 (22:34 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 10 Jan 2006 22:34:03 +0000 (22:34 +0000)
binutils/ChangeLog
binutils/objcopy.c

index dacc5da1980e349bb5d11a046d898a72e43d7a01..1804208058fbd5356e978c17002fc6f9e92d4a47 100644 (file)
@@ -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>:
index 410498c8d8523c8128e15d5d606ecfa217ef540f..2ab3d06bff3cbf517b22ab6d2666f06dc394a935 100644 (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.  */
This page took 0.02804 seconds and 4 git commands to generate.