From d0b5c6cbedde999c720c196efff22e955f7aebb6 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 12 Apr 2010 11:38:35 +0000 Subject: Plug trivial leak. llvm-svn: 101034 --- llvm/lib/CodeGen/MachineLICM.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib') diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp index a29e5059f3d..db67c714c36 100644 --- a/llvm/lib/CodeGen/MachineLICM.cpp +++ b/llvm/lib/CodeGen/MachineLICM.cpp @@ -391,6 +391,8 @@ void MachineLICM::HoistRegionPostRA(MachineDomTreeNode *N) { if (PhysRegDefs[Candidates[i].Def] == 1) HoistPostRA(Candidates[i].MI, Candidates[i].Def); } + + delete[] PhysRegDefs; } /// AddToLiveIns - Add register 'Reg' to the livein sets of BBs in the -- cgit v1.2.3