diff options
author | Raphael Isemann <teemperor@gmail.com> | 2021-04-22 18:33:46 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2021-04-22 18:44:30 +0200 |
commit | ae209aa9ecd717c0a73eebdb8ff16c5871b6f62f (patch) | |
tree | 395842c0f6b0a5b41786a032b5dfc5d38df5a0b6 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 803f1e46539765688c5e035bdb22289f08ebb8d1 (diff) | |
download | llvm-ae209aa9ecd717c0a73eebdb8ff16c5871b6f62f.zip llvm-ae209aa9ecd717c0a73eebdb8ff16c5871b6f62f.tar.gz llvm-ae209aa9ecd717c0a73eebdb8ff16c5871b6f62f.tar.bz2 |
Fix memory leak in MicrosoftDemangleNodes's Node::toString
The buffer we turn into a std::string here is malloc'd and should be
free'd before we return from this function.
Follow up to LLDB leak fixes such as D100806.
Reviewed By: mstorsjo, rupprecht, MaskRay
Differential Revision: https://reviews.llvm.org/D100843
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions