mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix a leak
This commit is contained in:
parent
3ad7de0fcb
commit
13f72decf4
1 changed files with 1 additions and 1 deletions
|
@ -1340,7 +1340,7 @@ void parser_t::parse_job_argument_list( process_t *p,
|
|||
p->count_help_magic = 1;
|
||||
}
|
||||
|
||||
switch( expand_string2( wcsdup(tok_last( tok )), args, 0 ) )
|
||||
switch( expand_string2( tok_last( tok ), args, 0 ) )
|
||||
{
|
||||
case EXPAND_ERROR:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue