diff --git a/dll/ntdll/ldr/ldrpe.c b/dll/ntdll/ldr/ldrpe.c index d0bf128a637..d8d235b34b2 100644 --- a/dll/ntdll/ldr/ldrpe.c +++ b/dll/ntdll/ldr/ldrpe.c @@ -1162,6 +1162,7 @@ FailurePath: { /* Import by name */ ForwardName = &ForwarderName; + ForwardOrdinal = 0; } /* Get the pointer */