* archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd.
[deliverable/binutils-gdb.git] / bfd / archive.c
index 86d07e9f4a1af2efd4b77e37e05445bfe5df0ddb..5de7a3e656024381365486aa50b40e351c7289d8 100644 (file)
@@ -661,10 +661,6 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos)
   if (_bfd_add_bfd_to_archive_cache (archive, filepos, n_nfd))
     return n_nfd;
 
-  /* Huh?  */
-  /* FIXME:  n_nfd isn't allocated in the archive's memory pool.
-     If we reach this point, I think bfd_release will abort.  */
-  bfd_release (archive, n_nfd);
   bfd_release (archive, new_areldata);
   return NULL;
 }
This page took 0.025749 seconds and 4 git commands to generate.