steam_helper: Free retval of wine_get_dos_file_name() using HeapFree().

This commit is contained in:
Arkadiusz Hiler 2025-03-03 14:39:36 +02:00
parent 5c4a530164
commit cd79459d5b

View File

@ -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;
}