Fix infinite loop (spotted by mifritscher)

svn path=/trunk/; revision=18838
This commit is contained in:
Hervé Poussineau 2005-10-29 09:49:19 +00:00
parent 689236b337
commit c3bd1b9130

View file

@ -4044,6 +4044,7 @@ AddDriverToList(
InsertHeadList(PreviousEntry, &driverInfo->ListEntry); InsertHeadList(PreviousEntry, &driverInfo->ListEntry);
break; break;
} }
PreviousEntry = PreviousEntry->Flink;
} }
if (PreviousEntry == DriverListHead) if (PreviousEntry == DriverListHead)
{ {