diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-29 16:50:49 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-29 16:50:49 +0000 |
commit | a5cb38980b444754196f298c0645a99069fd3c9b (patch) | |
tree | fa79b9961518ca0c0d76f78c0de3bb771177e8a5 /include/llvm/System | |
parent | 5ba2b702c21052346f171ab277824dc0e549ff77 (diff) | |
download | external_llvm-a5cb38980b444754196f298c0645a99069fd3c9b.zip external_llvm-a5cb38980b444754196f298c0645a99069fd3c9b.tar.gz external_llvm-a5cb38980b444754196f298c0645a99069fd3c9b.tar.bz2 |
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
Diffstat (limited to 'include/llvm/System')
-rw-r--r-- | include/llvm/System/Path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h index 8192dc4..34373ae 100644 --- a/include/llvm/System/Path.h +++ b/include/llvm/System/Path.h @@ -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 |