[PATCH 1/5] libdwfl: don't bother freeing frames outside of dwfl_thread_getframes

Mark Wielaard mark@klomp.org
Tue Oct 29 15:55:00 GMT 2019


Hi Omar,

On Mon, 2019-10-07 at 02:05 -0700, Omar Sandoval wrote:
> dwfl_thread_getframes always frees the state before returning, so
> dwfl_getthreads and getthread don't need to do it.

I am not sure I follow. dwfl_getthreads can be used independently from
its (indirect) usage from dwfl_thread_getframes. So doesn't it need to
do its own cleanup?

Thanks,

Mark



More information about the Elfutils-devel mailing list