mirror of
https://github.com/boostorg/build.git
synced 2026-02-23 03:32:12 +00:00
Fix a memory leak from @() feature implementation (#51)
There are still some memory leaks left to catch, but those are seems to be introduced far back.
This commit is contained in:
@@ -5228,6 +5228,7 @@ LIST * function_run( FUNCTION * function_, FRAME * frame, STACK * s )
|
||||
{
|
||||
expansion_item ei = { stack_pop( s ) };
|
||||
filename = expand( &ei, 1 );
|
||||
list_free( ei.values );
|
||||
}
|
||||
// Apply modifiers to "raw" filename.
|
||||
VAR_EXPANDED filename_mod = eval_modifiers( s, filename, code->arg );
|
||||
|
||||
Reference in New Issue
Block a user