mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Remova a few calls to free that are handled by halloc now
darcs-hash:20060213110929-ac50b-95bba1b70840ef16e45f3876c5d0521a51b90561.gz
This commit is contained in:
parent
6affa4452b
commit
a015472739
1 changed files with 1 additions and 3 deletions
2
parser.c
2
parser.c
|
@ -1781,7 +1781,6 @@ static int parse_job( process_t *p,
|
|||
error( SYNTAX_ERROR,
|
||||
tok_get_pos( tok ),
|
||||
EXEC_ERR_MSG );
|
||||
free(nxt);
|
||||
current_tokenizer_pos = prev_tokenizer_pos;
|
||||
return 0;
|
||||
}
|
||||
|
@ -2012,7 +2011,6 @@ static int parse_job( process_t *p,
|
|||
end_pos - current_tokenizer_pos);
|
||||
|
||||
p->type = INTERNAL_BLOCK;
|
||||
free( (void *)al_get( args, 0 ) );
|
||||
al_set( args, 0, sub_block );
|
||||
|
||||
tok_set_pos( tok,
|
||||
|
|
Loading…
Reference in a new issue