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:
|
done:
|
||||||
/* restore old protection of the import address table */
|
/* 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;
|
return wmImp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue