Author: gschneider Date: Sun Jun 6 20:34:57 2010 New Revision: 47632
URL: http://svn.reactos.org/svn/reactos?rev=47632&view=rev Log: [WIN32K] Free allocations with the tag that was used to allocate them
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c [iso-8859-1] Sun Jun 6 20:34:57 2010 @@ -983,7 +983,7 @@ }
/* free the message */ - ExFreePool(Message); + ExFreePoolWithTag(Message, TAG_USRMSG); return(TRUE); }
@@ -1060,7 +1060,7 @@ }
/* free the message */ - ExFreePool(SentMessage); + ExFreePoolWithTag(SentMessage, TAG_USRMSG);
CurrentEntry = MessageQueue->SentMessagesListHead.Flink; }