summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-04-24 05:16:45 +0000
committerNico Weber <nicolasweber@gmx.de>2014-04-24 05:16:45 +0000
commit4674f25eb2d99d333bbcc67dc2f6b2ae84690467 (patch)
tree3ddf9a67b0956df843ac4bd0dea304371b04392c /lib/CodeGen/CodeGenFunction.cpp
parent1f7b913611b3cb30b6e153915aa79a48006ee936 (diff)
downloadclang-4674f25eb2d99d333bbcc67dc2f6b2ae84690467.tar.gz
clang-4674f25eb2d99d333bbcc67dc2f6b2ae84690467.tar.bz2
clang-4674f25eb2d99d333bbcc67dc2f6b2ae84690467.tar.xz
Fix two leaks found by LSan.
A CursorPlatformAvailability can have several "unavailable" attributes, don't leak all but the first. I'm not sure if there can be several "deprecate"ds too, but add the same logic there to keep the two code paths looking the same. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions