[all-commits] [llvm/llvm-project] 51117e: [lldb][NFC] Remove unused custom reimplementation ...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Aug 11 01:05:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 51117e3c51754f3732ee34758310a0abc6fd3b75
      https://github.com/llvm/llvm-project/commit/51117e3c51754f3732ee34758310a0abc6fd3b75
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M lldb/include/lldb/Host/windows/PosixApi.h
    M lldb/source/Host/windows/Windows.cpp

  Log Message:
  -----------
  [lldb][NFC] Remove unused custom reimplementation of realpath for Windows

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.

Reviewed By: amccarth

Differential Revision: https://reviews.llvm.org/D85633




More information about the All-commits mailing list