mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FLTMGR] Properly allocate CCB in CreatePortCCB()
CID 1427031
This commit is contained in:
parent
f5d366b200
commit
48382d1448
1 changed files with 2 additions and 2 deletions
|
@ -817,7 +817,7 @@ CreatePortCCB(_In_ PFLT_PORT_OBJECT PortObject)
|
|||
PPORT_CCB PortCCB;
|
||||
|
||||
/* Allocate a CCB struct to hold the client port object info */
|
||||
PortCCB = ExAllocatePoolWithTag(NonPagedPool, sizeof(PPORT_CCB), FM_TAG_CCB);
|
||||
PortCCB = ExAllocatePoolWithTag(NonPagedPool, sizeof(PORT_CCB), FM_TAG_CCB);
|
||||
if (PortCCB)
|
||||
{
|
||||
/* Initialize the structure */
|
||||
|
@ -828,4 +828,4 @@ CreatePortCCB(_In_ PFLT_PORT_OBJECT PortObject)
|
|||
}
|
||||
|
||||
return PortCCB;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue