This fixes a memory leak in OpaqueType found by Google's internal heapchecker.
authorJeffrey Yasskin <jyasskin@google.com>
Thu, 17 Dec 2009 19:55:06 +0000 (19:55 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Thu, 17 Dec 2009 19:55:06 +0000 (19:55 +0000)
commitad715f86c90b06cc4ab9e1336d1bc3bf13ecb16d
tree4a10bbf7f6939ab35b86d00d5b25e54d669aabf4
parentaf15ffb9127dff185b74ff8b37a9d570ca547c61
This fixes a memory leak in OpaqueType found by Google's internal heapchecker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91611 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DerivedTypes.h
lib/VMCore/LLVMContextImpl.h
lib/VMCore/Type.cpp
unittests/VMCore/DerivedTypesTest.cpp [new file with mode: 0644]