mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 22:31:38 +00:00
[KMTEST_DRV]
* Move the DeviceExtension related asserts into a DBG block. svn path=/trunk/; revision=60665
This commit is contained in:
parent
dae996a6ba
commit
bd779c1be5
1 changed files with 2 additions and 0 deletions
|
@ -150,9 +150,11 @@ DriverUnload(
|
|||
|
||||
if (MainDeviceObject)
|
||||
{
|
||||
#if DBG
|
||||
PKMT_DEVICE_EXTENSION DeviceExtension = MainDeviceObject->DeviceExtension;
|
||||
ASSERT(!DeviceExtension->Mdl);
|
||||
ASSERT(!DeviceExtension->ResultBuffer);
|
||||
#endif
|
||||
ASSERT(!ResultBuffer);
|
||||
IoDeleteDevice(MainDeviceObject);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue