[opengtl-commits] [321] more leaks fix

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


Revision: 321
Author:   cyrille
Date:     2008-08-29 01:13:12 +0200 (Fri, 29 Aug 2008)

Log Message:
-----------
more leaks fix

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp


Modified: trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp	2008-08-28 23:03:27 UTC (rev 320)
+++ trunk/OpenGTL/OpenGTL/GTLCore/ParserBase_p.cpp	2008-08-28 23:13:12 UTC (rev 321)
@@ -988,6 +988,7 @@
     const Type* type = parseType();
     if( not type ) return 0;
     std::list< AST::Expression* > sizes = parseArraySize(true);
+    deleteAll( sizes );
     return d->compiler->typeManager()->getArray( type, sizes.size() );
   }
 }


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