From a0154727398c48e1b6f30e71d2612c092600af58 Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 13 Feb 2006 21:09:29 +1000 Subject: [PATCH] Remova a few calls to free that are handled by halloc now darcs-hash:20060213110929-ac50b-95bba1b70840ef16e45f3876c5d0521a51b90561.gz --- parser.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/parser.c b/parser.c index 6b5a61a5e..356d0ea78 100644 --- a/parser.c +++ b/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, @@ -2317,7 +2315,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type ) { forbidden_function = al_new(); } - + forbid_count = al_get_count( forbidden_function ); block_io = io;