bug 263:
authorReid Spencer <rspencer@reidspencer.com>
Sun, 25 Jul 2004 18:08:57 +0000 (18:08 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 25 Jul 2004 18:08:57 +0000 (18:08 +0000)
Ensure the list of libraries is cleared.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15212 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Module.cpp

index 13493cac3bf5d8e31573ae49c2d0c1ec6825402b..125fd123f8cf3d4d2c0ee2ab0bb000e6feaa4b97 100644 (file)
@@ -75,6 +75,7 @@ Module::~Module() {
   GlobalList.setParent(0);
   FunctionList.clear();
   FunctionList.setParent(0);
+  LibraryList.clear();
   delete SymTab;
 }