commit | 8935700747e6774fc1732c2608c80e533690a0f8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Oct 12 04:22:44 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Oct 12 04:22:44 2009 +0000 |
tree | 750c31bdc25eec7dbef2fd44eb871bce8e7ab798 | |
parent | 5dd66f99bc3d857188292aebead57d7251f63268 [diff] |
Fix PR5087, patch by Jakub Staszak! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83822 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineFunctionAnalysis.cpp b/lib/CodeGen/MachineFunctionAnalysis.cpp index ae9d5a9..56294d9 100644 --- a/lib/CodeGen/MachineFunctionAnalysis.cpp +++ b/lib/CodeGen/MachineFunctionAnalysis.cpp
@@ -30,6 +30,7 @@ } MachineFunctionAnalysis::~MachineFunctionAnalysis() { + releaseMemory(); assert(!MF && "MachineFunctionAnalysis left initialized!"); }