diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 05:16:45 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 05:16:45 +0000 |
| commit | 4674f25eb2d99d333bbcc67dc2f6b2ae84690467 (patch) | |
| tree | 3ddf9a67b0956df843ac4bd0dea304371b04392c /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 1f7b913611b3cb30b6e153915aa79a48006ee936 (diff) | |
| download | clang-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
