diff options
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index f8748e4..c83fb9e 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -834,7 +834,7 @@ public: LI = new LoopInfoBase<BasicBlock>(); } - ~LoopInfo() { LI->releaseMemory(); } + ~LoopInfo() { delete LI; } /// iterator/begin/end - The interface to the top-level loops in the current /// function. |