https://git.reactos.org/?p=reactos.git;a=commitdiff;h=48382d1448a72011fb9fc…
commit 48382d1448a72011fb9fc6279fae35ac35131a0e
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Jan 6 13:54:21 2018 +0100
[FLTMGR] Properly allocate CCB in CreatePortCCB()
CID 1427031
---
drivers/filters/fltmgr/Messaging.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/filters/fltmgr/Messaging.c b/drivers/filters/fltmgr/Messaging.c
index 6a40e0d8c1..d30292a5a3 100644
--- a/drivers/filters/fltmgr/Messaging.c
+++ b/drivers/filters/fltmgr/Messaging.c
@@ -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;
-}
\ No newline at end of file
+}