aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Module.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-07-25 18:08:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-07-25 18:08:57 +0000
commit801db47373bc5edda469276ac62e0d9e37b92fb7 (patch)
treeee5523b620e466fe1bd071e3c6ba7009f35173ae /lib/VMCore/Module.cpp
parent83f6a77c8fc27eba21bca05be37663f3a6e123a1 (diff)
bug 263:
Ensure the list of libraries is cleared. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Module.cpp')
-rw-r--r--lib/VMCore/Module.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp
index 13493cac3b..125fd123f8 100644
--- a/lib/VMCore/Module.cpp
+++ b/lib/VMCore/Module.cpp
@@ -75,6 +75,7 @@ Module::~Module() {
GlobalList.setParent(0);
FunctionList.clear();
FunctionList.setParent(0);
+ LibraryList.clear();
delete SymTab;
}