* archive.c (_bfd_archive_close_and_cleanup): Clear parent

cache slot for archives.
This commit is contained in:
Alan Modra 2013-04-15 03:13:20 +00:00
parent f0ac23826e
commit a22cd6f656
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2013-04-15 Alan Modra <amodra@gmail.com>
* archive.c (_bfd_archive_close_and_cleanup): Clear parent
cache slot for archives.
2013-04-14 Hans-Peter Nilsson <hp@bitrange.com>
* mmo.c (mmo_write_chunk): Break out abfd->tdata.mmo_data to new

View file

@ -2732,7 +2732,7 @@ _bfd_archive_close_and_cleanup (bfd *abfd)
bfd_ardata (abfd)->cache = NULL;
}
}
else if (arch_eltdata (abfd) != NULL)
if (arch_eltdata (abfd) != NULL)
{
struct areltdata *ared = arch_eltdata (abfd);
htab_t htab = (htab_t) ared->parent_cache;