commit | b7ccf75de52f64b57b7dbfb9d2ec4f793cba6598 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@google.com> | Wed Mar 17 07:08:12 2010 +0000 |
committer | Jeffrey Yasskin <jyasskin@google.com> | Wed Mar 17 07:08:12 2010 +0000 |
tree | 4e95d239408f09b0ea93195df25ab3e89a9581a7 | |
parent | 15a061194e7e26422b247e98d0c86256fe458632 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98716 91177308-0d34-0410-b5e6-96231b3b80d8