mirror of
https://github.com/reactos/reactos.git
synced 2024-12-03 00:13:32 +08:00
[NTOSKRNL]
- Add an assertion to catch a bug in the I/O manager svn path=/trunk/; revision=56093
This commit is contained in:
parent
ad0cb34f20
commit
5a288c9f90
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user