Closed baloghadamsoftware closed 5 years ago
I could not find a proper solution for the memory leak in passing string between the the statistics-based checkers and their bug reporter visitor so I cherry-picked the new method from the upstream clang. This seems to work without problems.
This reapplies commit r357323, fixing memory leak found by LSan.
Differential Revision: https://reviews.llvm.org/D58367
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358781 91177308-0d34-0410-b5e6-96231b3b80d8