mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[PORTCLS]
- Fix error check in CPortPinWaveRT::Init. CID 511862 svn path=/trunk/; revision=70260
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user