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 | aacf0313a5076eedfff8395507c6617c2144d6bf (patch) | |
tree | 2b131b382cfed01dc79831122839870134a77bc8 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | dbd07fadae4701ff2fec6fbee38dbedc1625290d (diff) | |
download | llvm-aacf0313a5076eedfff8395507c6617c2144d6bf.zip llvm-aacf0313a5076eedfff8395507c6617c2144d6bf.tar.gz llvm-aacf0313a5076eedfff8395507c6617c2144d6bf.tar.bz2 |
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.
llvm-svn: 207076
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions