mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
Fixed the memory allocation in EngCreateEvent.
svn path=/trunk/; revision=16712
This commit is contained in:
parent
07d3247011
commit
6aeadd25fd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue