This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: Using dwfl_end to free dwfl


As you both point out, that is useful only for purposes of running
valgrind.  addr2line itself has no leak since it just exits.  But this
is a way to test for leaks in the library code (like libc_freeres).
For that, it is useful to put superfluous end/free into test programs,
but probably not desireable in a real program like addr2line.

> There is still some loss because of absense of ebl_closebackend for

__libdwfl_module_free does that.  
Please cite this leak scenario you claim exists.


Thanks,
Roland

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