commit | baf82b0fdf5c23dff80660add40bb92bd850bba0 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Aug 17 22:19:53 2011 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Aug 17 22:19:53 2011 +0000 |
tree | 701baae8dd34f96d3097c80976f9ed196693f16e | |
parent | 0a7efe1142d241678c91bf93ee6adb51289863a4 [diff] |
[libclang] Workaround potential race condition with code completion AllocatedResults being freed after a CXTranslationUnit. The Container USR's CXString had its underlying data owned by the CXTranslationUnit's string pool. This would result in trying to access freed memory. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137887 91177308-0d34-0410-b5e6-96231b3b80d8