Fix bollixed check-in
authorMichael Snyder <msnyder@vmware.com>
Thu, 26 Jul 2007 21:58:44 +0000 (21:58 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 26 Jul 2007 21:58:44 +0000 (21:58 +0000)
bfd/linker.c

index d31752b..a679a32 100644 (file)
@@ -2946,11 +2946,11 @@ already_linked_newfunc (struct bfd_hash_entry *entry ATTRIBUTE_UNUSED,
   struct bfd_section_already_linked_hash_entry *ret =
     bfd_hash_allocate (table, sizeof *ret);
 
-  ret->entry = NULL;
-
   if (ret == NULL)
     return ret;
 
+  ret->entry = NULL;
+
   return &ret->root;
 }