ntdll: Do not omit mandatory argument for VirtualProtect.

This commit is contained in:
Sebastian Lackner 2015-05-02 18:43:24 +02:00 committed by Alexandre Julliard
parent 5f069c1601
commit 64ee8a4a53
1 changed files with 1 additions and 1 deletions

View File

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