"The return value of backtrace_symbols is a pointer obtained via the malloc function, and it is the responsibility of the caller to free that pointer. Note that only the return value need be freed, not the individual strings." (https://www.gnu.org/software/libc/manual/html_node/Backtraces.html and example therein)
Fix is untested (I'm in a container and can't easily rebuild jana2 at the moment).
"The return value of backtrace_symbols is a pointer obtained via the malloc function, and it is the responsibility of the caller to free that pointer. Note that only the return value need be freed, not the individual strings." (https://www.gnu.org/software/libc/manual/html_node/Backtraces.html and example therein)
Fix is untested (I'm in a container and can't easily rebuild jana2 at the moment).