]> granicus.if.org Git - clang/commit
[PCH] Fix memory leak related to deserialized MacroInfo objects.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 30 Apr 2013 05:05:35 +0000 (05:05 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 30 Apr 2013 05:05:35 +0000 (05:05 +0000)
commit3e25b990f1e2ba2a9a63dde5fd111492a7f6194a
treeb964dbf9e494ae7b36325e8cb929468d8570de49
parenta7efaf99ac662af11890aae74d84da8d31ab2fe0
[PCH] Fix memory leak related to deserialized MacroInfo objects.

Deserialized MacroInfos were not destroyed and if their SmallVector did heap allocation,
it was leaked.

rdar://13768967

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180771 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
lib/Lex/PPDirectives.cpp
lib/Lex/Preprocessor.cpp