[opengtl-commits] [211] --memory leaks

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 211
Author:   cyrille
Date:     2008-06-21 10:51:21 +0200 (Sat, 21 Jun 2008)

Log Message:
-----------
--memory leaks

Modified Paths:
--------------
    trunk/OpenGTL/OpenShiva/OpenShiva/CodeGenerator_p.cpp


Modified: trunk/OpenGTL/OpenShiva/OpenShiva/CodeGenerator_p.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/CodeGenerator_p.cpp	2008-06-21 08:39:12 UTC (rev 210)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/CodeGenerator_p.cpp	2008-06-21 08:51:21 UTC (rev 211)
@@ -224,8 +224,8 @@
     llvm::BasicBlock* lastBlock = GTLCore::CodeGenerator::createIterationForStatement( generationContext, initialBlock, incJ, arg_height, GTLCore::Type::Integer32, firstBlockJLoop, lastBlockJLoop);
     new llvm::ReturnInst(lastBlock);
   // Cleanup
-//   delete resultVar;
+  delete resultVar;
   delete incJ;
-//   delete incI;
+  delete incI;
   return func;
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/