[PORTCLS]
[reactos.git] / reactos / drivers / wdm / audio / backpln / portcls / pin_wavert.cpp
index 5950117..c3c5690 100644 (file)
@@ -638,7 +638,7 @@ CPortPinWaveRT::Init(
     }
 
     m_CommonBuffer = MmGetSystemAddressForMdlSafe(m_Mdl, NormalPagePriority);
-    if (!NT_SUCCESS(Status))
+    if (!m_CommonBuffer)
     {
         DPRINT("Failed to get system address %x\n", Status);
         IoFreeMdl(m_Mdl);