Author: akhaldi
Date: Mon Oct 14 16:35:35 2013
New Revision: 60665
URL:
http://svn.reactos.org/svn/reactos?rev=60665&view=rev
Log:
[KMTEST_DRV]
* Move the DeviceExtension related asserts into a DBG block.
Modified:
trunk/rostests/kmtests/kmtest_drv/kmtest_drv.c
Modified: trunk/rostests/kmtests/kmtest_drv/kmtest_drv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/kmtest_drv/kmtest…
==============================================================================
--- trunk/rostests/kmtests/kmtest_drv/kmtest_drv.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/kmtest_drv/kmtest_drv.c [iso-8859-1] Mon Oct 14 16:35:35 2013
@@ -150,9 +150,11 @@
if (MainDeviceObject)
{
+#if DBG
PKMT_DEVICE_EXTENSION DeviceExtension = MainDeviceObject->DeviceExtension;
ASSERT(!DeviceExtension->Mdl);
ASSERT(!DeviceExtension->ResultBuffer);
+#endif
ASSERT(!ResultBuffer);
IoDeleteDevice(MainDeviceObject);
}