bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.73k stars 471 forks source link

fix memory leak from demangle #189

Closed iillyyaa closed 3 years ago

iillyyaa commented 3 years ago

Fix memory leak that was introduced by a coding mistake in an earlier attempt to fix a leak on realloc:

dd8af25 fix a memory leak when __cxa_demangle reallocs

The value of _empty was accidentally negated.

Closes #171