Fix a leak

This commit is contained in:
ridiculousfish 2012-02-13 19:39:20 -08:00
parent fcea723aa7
commit afcda2f724

View file

@ -1390,7 +1390,7 @@ static void complete_param_expand( const wchar_t *str,
ACCEPT_INCOMPLETE |
(do_file?0:EXPAND_SKIP_WILDCARDS);
if( expand_string( wcsdup(comp_str),
if( expand_string( comp_str,
comp_out,
flags ) == EXPAND_ERROR )
{