Fix failure case in IoConnectInterrupt.
Modified: trunk/reactos/ntoskrnl/io/driver.c

Modified: trunk/reactos/ntoskrnl/io/driver.c
--- trunk/reactos/ntoskrnl/io/driver.c	2005-03-08 23:07:10 UTC (rev 13893)
+++ trunk/reactos/ntoskrnl/io/driver.c	2005-03-08 23:10:38 UTC (rev 13894)
@@ -1252,11 +1252,12 @@
     */
    for (i = 1; i < KeLoaderBlock.ModsCount; i++)
    {
-
        MiFreeBootDriverMemory((PVOID)KeLoaderModules[i].ModStart,
                               KeLoaderModules[i].ModEnd - KeLoaderModules[i].ModStart);
    }
 
+   KeLoaderBlock.ModsCount = 0;
+
    if (BootDriverCount == 0)
    {
       DbgPrint("No boot drivers available.\n");