diff options
author | Alan Modra <amodra@gmail.com> | 2013-04-15 03:13:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-04-15 03:13:20 +0000 |
commit | a22cd6f656c2b85018e8aed08baa0864dc44304f (patch) | |
tree | fde3164d576338211c14b7cdbccfca6eb48a2055 /bfd/archive.c | |
parent | f0ac23826e47a5fa19e333d8ee0399b7e2f6b06a (diff) | |
download | gdb-a22cd6f656c2b85018e8aed08baa0864dc44304f.zip gdb-a22cd6f656c2b85018e8aed08baa0864dc44304f.tar.gz gdb-a22cd6f656c2b85018e8aed08baa0864dc44304f.tar.bz2 |
* archive.c (_bfd_archive_close_and_cleanup): Clear parent
cache slot for archives.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r-- | bfd/archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/archive.c b/bfd/archive.c index 8cc6bf2..32b07a7 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -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; |