2
0
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:
Nikita Kniazev
2021-07-11 23:15:25 +03:00
committed by GitHub
parent 2816f8d5f7
commit d89f209402

View File

@@ -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 );