[Lldb-commits] [PATCH] D47418: Fix memory leak in SubsPrimitiveParmItanium

2018-05-27 Thread Raphael Isemann via Phabricator via lldb-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL53: Fix memory leak in SubsPrimitiveParmItanium (authored by teemperor, committed by ). Herald added a subscriber:

[Lldb-commits] [PATCH] D47418: Fix memory leak in SubsPrimitiveParmItanium

2018-05-27 Thread Raphael Isemann via Phabricator via lldb-commits
teemperor created this revision. Herald added a reviewer: javed.absar. Herald added subscribers: chrib, kristof.beyls. FastDemangle gives us a C-string that we own (which is allocated in SymbolDemangler::GetDemangledCopy). As we are not deleting the string, we leak memory whenever we call