bfd/section.c patch
Tom Rix
trix@redhat.com
Tue Oct 10 07:20:00 GMT 2000
This is a trivial patch to the bfd/section.c file. The funtion
bfd_make_section_anyway does not free the newsect ptr if it fails to alloc
the newsect->symbol ptr. I also did not like the use of free(newsect) later
if the BFD_SEND failed, it should be bfd_release since it is alloc-ed with
bfd_zalloc
This patch was diff-ed against cvs.cygnus.com/devo.
Tom
Tom Rix
GCC Engineer
256.704.9201
trix@redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-section-release.patch
Type: text/x-diff
Size: 1868 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20001010/930d2b09/attachment.bin>
More information about the Binutils
mailing list