Author: tfaber
Date: Fri Dec 4 09:36:34 2015
New Revision: 70260
URL:
http://svn.reactos.org/svn/reactos?rev=70260&view=rev
Log:
[PORTCLS]
- Fix error check in CPortPinWaveRT::Init. CID 511862
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/pin_wavert.cpp [iso-8859-1] Fri Dec 4
09:36:34 2015
@@ -638,7 +638,7 @@
}
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);