diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2014-05-06 17:18:03 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2014-05-06 17:18:03 +0000 |
| commit | ae8a33daa177532359f65794dea183846f5b8367 (patch) | |
| tree | 76a56a16bdef4a6d0ef12b91ab4ccda353147a8b /lib/Basic/FileSystemStatCache.cpp | |
| parent | 8304a54201c0c0b408fc70ec18baf9a2b6cc23d3 (diff) | |
| download | clang-ae8a33daa177532359f65794dea183846f5b8367.tar.gz clang-ae8a33daa177532359f65794dea183846f5b8367.tar.bz2 clang-ae8a33daa177532359f65794dea183846f5b8367.tar.xz | |
Fix a leak found by LSan: ConsumedBlockInfo owns its StateMapsArray entries.
(I tried converting StateMapsArray to a vector<unique_ptr> and changing the
types of getInfo() and addInfo() to take unique_ptrs. This mostly worked,
except for the three-argument form of addInfo() which I found confusing enough
that I went with this simpler fix for now.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions
