This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/5] remove deleted BFDs from the archive cache


>>>>> "Alan" == Alan Modra <amodra@gmail.com> writes:

>> * opncls.c (_bfd_delete_bfd): Check to see if section htab is
>> already freed.

Alan> This part can be committed now if you like.

The issue was double-freeing of section_htab.  Because _bfd_delete_bfd
checks abfd->memory before freeing the section_htab, and because
_bfd_free_cached_info still calls objalloc_free, there's no need to do
this check.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]