[Ltrace-devel] Getting prototypes from debug information

Petr Machata pmachata at redhat.com
Thu May 1 21:23:40 UTC 2014


Dima Kogan <lists at dima.secretsauce.net> writes:

>> 1. filter_matches_symbol() and dwlf is leaking. Every time I call these
>> we leak a bit. The dwfl is out of our hands, but the
>> filter_matches_symbol() maybe could be plugged:
>
> I looked into this. Ltrace is definitely leaking it. The regex is
> released when filter_destroy() calls filter_rule_destroy(), but those
> are not called by anything.

Ah, there we go.  I just saw that we call regfree, but didn't check
whether we actually call those.  Will you roll this into your change
set, or should I look into it?

Thanks,
PM



More information about the Ltrace-devel mailing list