Plug a leak by giving the AsmParser ownership of the MCSubtargetInfo.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 8 Jul 2011 21:06:23 +0000 (21:06 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 8 Jul 2011 21:06:23 +0000 (21:06 +0000)
commit75ca4b94bd9dcd3952fdc237429342a2154ba142
treeedcf468ac10f36f599298728727f14950f19a281
parentead77cd6789041bb5c7e0ac2442f1205ab23fbc0
Plug a leak by giving the AsmParser ownership of the MCSubtargetInfo.

Found by valgrind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134738 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/X86/AsmParser/X86AsmParser.cpp