mirror of
https://github.com/reactos/wine.git
synced 2025-01-27 06:53:49 +00:00
ntdll: Do not omit mandatory argument for VirtualProtect.
This commit is contained in:
parent
5f069c1601
commit
64ee8a4a53
@ -685,7 +685,7 @@ static WINE_MODREF *import_dll( HMODULE module, const IMAGE_IMPORT_DESCRIPTOR *d
|
||||
|
||||
done:
|
||||
/* restore old protection of the import address table */
|
||||
NtProtectVirtualMemory( NtCurrentProcess(), &protect_base, &protect_size, protect_old, NULL );
|
||||
NtProtectVirtualMemory( NtCurrentProcess(), &protect_base, &protect_size, protect_old, &protect_old );
|
||||
return wmImp;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user