mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 06:20:23 +08:00
Fix minor memory leak in completion code
darcs-hash:20060826021948-ac50b-6fecba2056e47cb7c4e8499f2a51e1c0c23d0757.gz
This commit is contained in:
parent
69537430ea
commit
ed8cd08984
@ -588,7 +588,7 @@ static void parse_cmd_string( void *context,
|
||||
Use the empty string as the 'path' for commands that can
|
||||
not be found.
|
||||
*/
|
||||
path = wcsdup(L"");
|
||||
path = halloc_wcsdup( context, L"");
|
||||
}
|
||||
|
||||
/* Make sure the path is not included in the command */
|
||||
|
Loading…
x
Reference in New Issue
Block a user