diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-17 07:08:12 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-17 07:08:12 +0000 |
commit | c4e3f053808615d9376efda1fafc790b5a9ba1cc (patch) | |
tree | 8efbce6c7894197af3f3b09ab9d3fcf7d2403f29 /clang/lib/Basic/SourceManager.cpp | |
parent | 6184f4db34942822c369fc70be1700c506f111e0 (diff) | |
download | llvm-c4e3f053808615d9376efda1fafc790b5a9ba1cc.zip llvm-c4e3f053808615d9376efda1fafc790b5a9ba1cc.tar.gz llvm-c4e3f053808615d9376efda1fafc790b5a9ba1cc.tar.bz2 |
Fix a false-positive memory leak in code using RemoveFileOnSignal(). Because
libstdc++'s std::string class points to the interior of an allocation, valgrind
reports strings still alive at program termination as possible leaks. I didn't
use a ManagedStatic for this because System can't depend on Support.
llvm-svn: 98716
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions