[Ltrace-devel] [PATCH] Fix a memory leak in populate_this_symtab

Petr Machata pmachata at redhat.com
Fri Apr 10 12:26:05 UTC 2015


Роман Донченко <dpb at corrigendum.ru> writes:

> symbols is only used (and freed) if only_exported_names is true, so
> don't allocate it if it's false.

Hmm, I see, and down below it uses "symbols" in lseach, but there's a
continue keyed to only_exported_names that prevents us reaching that
code.  Looks good, pushed.

Thanks,
Petr



More information about the Ltrace-devel mailing list