Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75913 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2011-12-11 21:07:29


Author: steven_watanabe
Date: 2011-12-11 21:07:28 EST (Sun, 11 Dec 2011)
New Revision: 75913
URL: http://svn.boost.org/trac/boost/changeset/75913

Log:
Fix memory leak.
Text files modified:
   trunk/tools/build/v2/engine/function.c | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/engine/function.c
==============================================================================
--- trunk/tools/build/v2/engine/function.c (original)
+++ trunk/tools/build/v2/engine/function.c 2011-12-11 21:07:28 EST (Sun, 11 Dec 2011)
@@ -2526,6 +2526,7 @@
     parse = parse_actions( actions );
     compiler_init( c );
     var_parse_actions_compile( parse, c );
+ var_parse_actions_free( parse );
     compile_emit( c, INSTR_RETURN, 0 );
     result = compile_to_function( c );
     compiler_free( c );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk