$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r75793 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2011-12-03 15:00:19
Author: steven_watanabe
Date: 2011-12-03 15:00:18 EST (Sat, 03 Dec 2011)
New Revision: 75793
URL: http://svn.boost.org/trac/boost/changeset/75793
Log:
Remember to clean up.
Text files modified: 
   trunk/tools/build/v2/engine/function.c |     8 ++++++++                                
   1 files changed, 8 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-03 15:00:18 EST (Sat, 03 Dec 2011)
@@ -391,6 +391,14 @@
         backtrace_line( frame );
         printf( "warning: rulename %s expands to empty string\n", unexpanded );
         backtrace( frame );
+
+        list_free( first );
+
+        for( i = 0; i < n_args; ++i )
+        {
+            list_free( stack_pop( s ) );
+        }
+
         return result;
     }