[NTOSKRNL]

- Add an assertion to catch a bug in the I/O manager

svn path=/trunk/; revision=56093
This commit is contained in:
Cameron Gutman 2012-03-08 23:02:45 +00:00
parent ad0cb34f20
commit 5a288c9f90

View File

@ -60,6 +60,9 @@ IopDeleteDriver(IN PVOID ObjectBody)
DPRINT1("Deleting driver object '%wZ'\n", &DriverObject->DriverName);
/* There must be no device objects remaining at this point */
ASSERT(!DriverObject->DeviceObject);
/* Get the extension and loop them */
DriverExtension = IoGetDrvObjExtension(DriverObject)->
ClientDriverExtension;