From 13f72decf41ff90319295ee4fae8d3743e317386 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 30 Jan 2012 11:23:09 -0800 Subject: [PATCH] Fix a leak --- parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.cpp b/parser.cpp index b526251e6..e92b81f4c 100644 --- a/parser.cpp +++ b/parser.cpp @@ -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: {