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]

Dwarf2.c:read_attribute_value - isn't it a leak?


Hi,

There is seems to a be a leak at dwarf2.c (function
read_attribute_value, allocations of dwarf_block in DW_FORM_blockX
cases).

While using BFD (modified a little bit) i had found that my program
permanently increases a heap memory consumption.
Thought it might be relative to changes I made in BFD (perhaps
originla BFD does not permanently eats memory), I suppose it is a real
leak that you might wish to fix.

I'm using a BFD from GDB 7.0.1. Its version, I suppose, is 20090916.

Dmitry


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