diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-07-25 18:08:57 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-07-25 18:08:57 +0000 |
| commit | 801db47373bc5edda469276ac62e0d9e37b92fb7 (patch) | |
| tree | ee5523b620e466fe1bd071e3c6ba7009f35173ae /lib/VMCore/Module.cpp | |
| parent | 83f6a77c8fc27eba21bca05be37663f3a6e123a1 (diff) | |
| download | llvm-801db47373bc5edda469276ac62e0d9e37b92fb7.tar.gz llvm-801db47373bc5edda469276ac62e0d9e37b92fb7.tar.bz2 llvm-801db47373bc5edda469276ac62e0d9e37b92fb7.tar.xz | |
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.cpp | 1 |
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; } |
