This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Don't leak LineSequence in PDB parsers
ClosedPublic

Authored by teemperor on Apr 20 2021, 5:23 AM.

Details

Summary

InsertSequence doesn't take ownership of the pointer so releasing this pointer
is just leaking memory.

Follow up to D100806 that was fixing other leak sanitizer test failures

Diff Detail

Event Timeline

teemperor requested review of this revision.Apr 20 2021, 5:23 AM
teemperor created this revision.
This revision is now accepted and ready to land.Apr 20 2021, 8:43 AM
This revision was landed with ongoing or failed builds.Apr 22 2021, 5:11 AM
This revision was automatically updated to reflect the committed changes.