commit | 6f447ef7f0c5000e88d11312c06df9d5021d4ecd | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Mon Oct 07 02:05:35 2019 -0700 |
committer | Mark Wielaard <mark@klomp.org> | Tue Oct 29 17:48:05 2019 +0100 |
tree | 6c40b58f0a7aeef1e28588bb34420bdc33a4befe | |
parent | b2dddd3389a8005a7e93bc21b2932156899e1aac [diff] |
libdwfl: don't bother freeing frames outside of dwfl_thread_getframes dwfl_thread_getframes always frees the state before returning, so dwfl_getthreads and getthread don't need to do it. The only place we allocate the state is from dwfl_thread_getframes and we always free it before returning from that function. Signed-off-by: Omar Sandoval <osandov@fb.com>