Fixed the memory allocation in EngCreateEvent.
Modified: trunk/reactos/subsys/win32k/eng/event.c
--- trunk/reactos/subsys/win32k/eng/event.c 2005-07-24 11:59:28 UTC (rev 16711) +++ trunk/reactos/subsys/win32k/eng/event.c 2005-07-24 14:08:20 UTC (rev 16712) @@ -36,7 +36,7 @@
STDCALL EngCreateEvent ( OUT PEVENT *Event ) {
- (*Event) = ExAllocatePool(NonPagedPool, sizeof(TAG_DRIVER));
+ (*Event) = ExAllocatePool(NonPagedPool, sizeof(KEVENT));
if ((*Event) == NULL) { return FALSE;