forked from OSchip/llvm-project
Don't forget to delete the FileStatus structure on destruction of Path.
llvm-svn: 35459
This commit is contained in:
parent
78b899f665
commit
858045e396
|
@ -163,6 +163,7 @@ namespace sys {
|
|||
/// other lib/System functionality.
|
||||
/// @brief Construct an empty (and invalid) path.
|
||||
Path() : path(), status(0) {}
|
||||
~Path() { delete status; }
|
||||
|
||||
/// This constructor will accept a std::string as a path. No checking is
|
||||
/// done on this path to determine if it is valid. To determine validity
|
||||
|
|
Loading…
Reference in New Issue