mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 23:01:16 -03:00
Put fish on a diet. Tracked down the biggest memory hogs and fixed them. Total allocations down by a factor of 3 or so, live allocations a few KB.
This commit is contained in:
@@ -3255,7 +3255,7 @@ static int builtin_end( parser_t &parser, wchar_t **argv )
|
||||
parser.get_job_pos()-parser.current_block->tok_pos );
|
||||
d->definition = def;
|
||||
|
||||
function_add( d, parser );
|
||||
function_add( *d, parser );
|
||||
free( def );
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user