Initialize these in case handle locking fails.
Modified: trunk/reactos/drivers/net/afd/afd/lock.c
--- trunk/reactos/drivers/net/afd/afd/lock.c 2005-04-07 20:28:35 UTC (rev 14540) +++ trunk/reactos/drivers/net/afd/afd/lock.c 2005-04-08 01:11:32 UTC (rev 14541) @@ -126,6 +126,7 @@
for( i = 0; FileObjects && i < HandleCount; i++ ) { HandleArray[i].Status = 0; HandleArray[i].Events = HandleArray[i].Events;
+ FileObjects[i].Handle = 0;
Status = ObReferenceObjectByHandle ( (PVOID)HandleArray[i].Handle, FILE_ALL_ACCESS,