This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Remove unused custom reimplementation of realpath for Windows
ClosedPublic

Authored by teemperor on Aug 10 2020, 2:42 AM.

Details

Summary

No one is calling this function it seems and according to https://bugs.llvm.org/show_bug.cgi?id=47088 this can leak memory, so let's just remove it:

Quote from the bug report:

Before return on line 146, the memory allocated on line 130 is not freed.

Diff Detail

Event Timeline

teemperor requested review of this revision.Aug 10 2020, 2:42 AM
teemperor created this revision.
amccarth accepted this revision.Aug 10 2020, 9:26 AM

Nice.

This revision is now accepted and ready to land.Aug 10 2020, 9:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2020, 1:05 AM