mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02:56 +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;
|
PPORT_CCB PortCCB;
|
||||||
|
|
||||||
/* Allocate a CCB struct to hold the client port object info */
|
/* 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)
|
if (PortCCB)
|
||||||
{
|
{
|
||||||
/* Initialize the structure */
|
/* Initialize the structure */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue