mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[KMTEST_DRV]
* Move the DeviceExtension related asserts into a DBG block. svn path=/trunk/; revision=60665
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user