diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-02-04 06:49:00 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-02-04 06:49:00 +0000 |
commit | cccf1232a69e2d78516c61a97e7bfa26acefb714 (patch) | |
tree | 7a5a6167ca448c9801e173b989ed409d2568ebcb /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 8f9f0d3a34ebbcd6d075fbb1250dc74f36579d50 (diff) |
Get rid of some memory leaks identified by Valgrind
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e4691b3d9c..e2049f1cb8 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1998,4 +1998,5 @@ void SelectionDAGISel::ScheduleAndEmitDAG(SelectionDAG &DAG) { SL = createBURRListDAGScheduler(DAG, BB); } BB = SL->Run(); + delete SL; } |