Avoid need for malloc by passing NULLs to abi::__cxa_demangle()

This method, Demangle(), is sometimes called in contexts that need to be signal-safe, and using malloc() isn't allowed in such contexts.

Fortunately, abi::__cxa_demangle can be given NULL and will allocate its own memory.

Merge request reports

Loading