Fix a leak

This commit is contained in:
ridiculousfish 2012-01-30 11:23:09 -08:00
parent 3ad7de0fcb
commit 13f72decf4

View file

@ -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:
{