Ensure the list of libraries is cleared.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-07-25 18:08:57 +00:00
parent 83f6a77c8f
commit 801db47373

View File

@ -75,6 +75,7 @@ Module::~Module() {
GlobalList.setParent(0);
FunctionList.clear();
FunctionList.setParent(0);
LibraryList.clear();
delete SymTab;
}