Oops, r98447 dropped the reference to ForwardType in the wrong place in
authorJeffrey Yasskin <jyasskin@google.com>
Sun, 28 Mar 2010 01:03:47 +0000 (01:03 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Sun, 28 Mar 2010 01:03:47 +0000 (01:03 +0000)
commitec243474bc652de18eca62830b4bc12d35d52d9a
treee777760e07ad2a69e4960bfa0105da8f5b10f8ad
parentb4a52b04bda21262dd742bb7add82b4842311ed3
Oops, r98447 dropped the reference to ForwardType in the wrong place in
Type::destroy(), so it got skipped for FunctionTypes, StructTypes, and
UnionTypes.  This fixes the resulting leaks in test/Feature/opaquetypes.ll and
test/Integer/opaquetypes_bt.ll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99732 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Type.cpp