mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-23 20:08:06 +03:00
steam_helper: Free retval of wine_get_dos_file_name() using HeapFree().
This commit is contained in:
parent
5c4a530164
commit
cd79459d5b
@ -118,7 +118,7 @@ static char *escape_path_unix_to_dos( const char *path )
|
||||
if ((escaped = malloc( len ))) WideCharToMultiByte( CP_UTF8, 0, tmp, (dst - tmp), escaped, len, NULL, NULL );
|
||||
|
||||
done:
|
||||
free( dos );
|
||||
HeapFree( GetProcessHeap(), 0, dos );
|
||||
free( tmp );
|
||||
return escaped;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user