[ros-diffs] [hbirr] 16712: Fixed the memory allocation in
EngCreateEvent.
hbirr at svn.reactos.com
hbirr at svn.reactos.com
Sun Jul 24 16:08:23 CEST 2005
Fixed the memory allocation in EngCreateEvent.
Modified: trunk/reactos/subsys/win32k/eng/event.c
_____
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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050724/c20bf275/attachment.html
More information about the Ros-diffs
mailing list