Skip to content

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

Sean McBride requested to merge seanm/kwsys:__cxa_demangle-no-malloc into master

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