mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Don't forget to delete the FileStatus structure on destruction of Path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5ba2b702c2
commit
a5cb38980b
@ -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…
x
Reference in New Issue
Block a user