Fixed the memory allocation in EngCreateEvent.

svn path=/trunk/; revision=16712
This commit is contained in:
Hartmut Birr 2005-07-24 14:08:20 +00:00
parent 07d3247011
commit 6aeadd25fd

View file

@ -36,7 +36,7 @@ BOOL
STDCALL
EngCreateEvent ( OUT PEVENT *Event )
{
(*Event) = ExAllocatePool(NonPagedPool, sizeof(TAG_DRIVER));
(*Event) = ExAllocatePool(NonPagedPool, sizeof(KEVENT));
if ((*Event) == NULL)
{
return FALSE;