[opengtl-commits] [404] add a few FIXME

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


Revision: 404
Author:   cyrille
Date:     2008-09-20 12:48:29 +0200 (Sat, 20 Sep 2008)

Log Message:
-----------
add a few FIXME

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


Modified: trunk/OpenGTL/OpenGTL/GTLCore/Type_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Type_p.cpp	2008-09-20 10:45:04 UTC (rev 403)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Type_p.cpp	2008-09-20 10:48:29 UTC (rev 404)
@@ -54,6 +54,7 @@
 
 Type::StructFunctionMember::~StructFunctionMember()
 {
+//   delete d->function; // FIXME don't leak functions
   delete d;
 }
 

Modified: trunk/OpenGTL/OpenShiva/OpenShiva/CodeGenerator_p.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/CodeGenerator_p.cpp	2008-09-20 10:45:04 UTC (rev 403)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/CodeGenerator_p.cpp	2008-09-20 10:48:29 UTC (rev 404)
@@ -294,6 +294,7 @@
     // }
     
     llvm::BasicBlock* lastBlock = GTLCore::CodeGenerator::createIterationForStatement( generationContext, initialBlock, incJ, arg_height, GTLCore::Type::Integer32, firstBlockJLoop, lastBlockJLoop);
+//     resultVar->cleanUp( generationContext, lastBlock, 0); // FIXME don't leak result pixels
     llvm::ReturnInst::Create(lastBlock);
   // Cleanup
   


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