fix MCSectionELF to not leak memory, just like I did for MCSymbol.
authorChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2010 06:23:52 +0000 (06:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2010 06:23:52 +0000 (06:23 +0000)
commit1f8008cf214b984954de2e986fb8cb0e5cc58606
treefcb0837c9a3e2e4a69bb24cf6e92a0e6a9b63ab2
parentc28cc093e3b5b8601cb5024a5365a6f31f49839a
fix MCSectionELF to not leak memory, just like I did for MCSymbol.
MCSectionMachO is already fine (yay for fixed size arrays?),
MCSectionCOFF still leaks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98537 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSection.h
include/llvm/MC/MCSectionELF.h
lib/CodeGen/TargetLoweringObjectFileImpl.cpp