Fixed the size of the allocated port structure.
authorHartmut Birr <osexpert@googlemail.com>
Mon, 2 Jan 2006 17:46:35 +0000 (17:46 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Mon, 2 Jan 2006 17:46:35 +0000 (17:46 +0000)
svn path=/trunk/; revision=20530

reactos/ntoskrnl/ps/kill.c

index 6e4b8a7..26f4ae2 100644 (file)
@@ -754,7 +754,7 @@ NtRegisterThreadTerminatePort(HANDLE PortHandle)
 
     /* Allocate the Port and make sure it suceeded */
     if((TerminationPort = ExAllocatePoolWithTag(NonPagedPool,
-                                                sizeof(PTERMINATION_PORT),
+                                                sizeof(TERMINATION_PORT),
                                                 TAG('P', 's', 'T', '=')))) {
 
         /* Associate the Port */