mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[PORTCLS]
- Fix error check in CPortPinWaveRT::Init. CID 511862 svn path=/trunk/; revision=70260
This commit is contained in:
parent
7d6da999d0
commit
f32001cd7e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue