mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fixed the alocation size in NtRegisterThreadTerminatePort.
svn path=/trunk/; revision=3009
This commit is contained in:
parent
a7c919c505
commit
998a072d3f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: kill.c,v 1.52 2002/04/27 19:25:16 hbirr Exp $
|
||||
/* $Id: kill.c,v 1.53 2002/06/05 19:38:08 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -364,7 +364,7 @@ NtRegisterThreadTerminatePort(HANDLE TerminationPortHandle)
|
|||
return(Status);
|
||||
}
|
||||
|
||||
Request = ExAllocatePool(NonPagedPool, sizeof(Request));
|
||||
Request = ExAllocatePool(NonPagedPool, sizeof(EPORT_TERMINATION_REQUEST));
|
||||
Request->Port = TerminationPort;
|
||||
Thread = PsGetCurrentThread();
|
||||
KeAcquireSpinLock(&Thread->ActiveTimerListLock, &oldIrql);
|
||||
|
|
Loading…
Reference in a new issue