Fix minor memory leak in completion code

darcs-hash:20060826021948-ac50b-6fecba2056e47cb7c4e8499f2a51e1c0c23d0757.gz
This commit is contained in:
axel 2006-08-26 12:19:48 +10:00
parent 69537430ea
commit ed8cd08984

View File

@ -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 */