mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Fix a leak
This commit is contained in:
parent
fcea723aa7
commit
afcda2f724
1 changed files with 1 additions and 1 deletions
|
@ -1390,7 +1390,7 @@ static void complete_param_expand( const wchar_t *str,
|
||||||
ACCEPT_INCOMPLETE |
|
ACCEPT_INCOMPLETE |
|
||||||
(do_file?0:EXPAND_SKIP_WILDCARDS);
|
(do_file?0:EXPAND_SKIP_WILDCARDS);
|
||||||
|
|
||||||
if( expand_string( wcsdup(comp_str),
|
if( expand_string( comp_str,
|
||||||
comp_out,
|
comp_out,
|
||||||
flags ) == EXPAND_ERROR )
|
flags ) == EXPAND_ERROR )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue