Fixed the alocation size in NtRegisterThreadTerminatePort.

svn path=/trunk/; revision=3009
This commit is contained in:
Hartmut Birr 2002-06-05 19:38:08 +00:00
parent a7c919c505
commit 998a072d3f

View file

@ -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);