diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-12 04:22:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-12 04:22:44 +0000 |
commit | 8935700747e6774fc1732c2608c80e533690a0f8 (patch) | |
tree | 750c31bdc25eec7dbef2fd44eb871bce8e7ab798 /lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | 5dd66f99bc3d857188292aebead57d7251f63268 (diff) | |
download | external_llvm-8935700747e6774fc1732c2608c80e533690a0f8.tar.gz external_llvm-8935700747e6774fc1732c2608c80e533690a0f8.tar.bz2 external_llvm-8935700747e6774fc1732c2608c80e533690a0f8.zip |
Fix PR5087, patch by Jakub Staszak!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunctionAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunctionAnalysis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineFunctionAnalysis.cpp b/lib/CodeGen/MachineFunctionAnalysis.cpp index ae9d5a99c0..56294d9039 100644 --- a/lib/CodeGen/MachineFunctionAnalysis.cpp +++ b/lib/CodeGen/MachineFunctionAnalysis.cpp @@ -30,6 +30,7 @@ MachineFunctionAnalysis::MachineFunctionAnalysis(TargetMachine &tm, } MachineFunctionAnalysis::~MachineFunctionAnalysis() { + releaseMemory(); assert(!MF && "MachineFunctionAnalysis left initialized!"); } |