aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/Disassembler.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
commitaacf0313a5076eedfff8395507c6617c2144d6bf (patch)
tree2b131b382cfed01dc79831122839870134a77bc8 /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parentdbd07fadae4701ff2fec6fbee38dbedc1625290d (diff)
downloadllvm-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