From: Reid Spencer Date: Sun, 25 Jul 2004 18:08:57 +0000 (+0000) Subject: bug 263: X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=801db47373bc5edda469276ac62e0d9e37b92fb7;p=oota-llvm.git 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 --- diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 13493cac3bf..125fd123f8c 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; }