[KMTESTS:KE]
[reactos.git] / rostests / kmtests / kmtest_drv / kmtest_drv.c
index 9e9749d..644e391 100644 (file)
@@ -2,7 +2,7 @@
  * PROJECT:         ReactOS kernel-mode tests
  * LICENSE:         GPLv2+ - See COPYING in the top level directory
  * PURPOSE:         Kernel-Mode Test Suite Driver
- * PROGRAMMER:      Thomas Faber <thfabba@gmx.de>
+ * PROGRAMMER:      Thomas Faber <thomas.faber@reactos.org>
  */
 
 #include <ntddk.h>
@@ -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);
     }