mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[WIN32K] Free allocations with the tag that was used to allocate them
svn path=/trunk/; revision=47632
This commit is contained in:
@@ -983,7 +983,7 @@ co_MsqDispatchOneSentMessage(PUSER_MESSAGE_QUEUE MessageQueue)
|
||||
}
|
||||
|
||||
/* free the message */
|
||||
ExFreePool(Message);
|
||||
ExFreePoolWithTag(Message, TAG_USRMSG);
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
@@ -1060,7 +1060,7 @@ MsqRemoveWindowMessagesFromQueue(PVOID pWindow)
|
||||
}
|
||||
|
||||
/* free the message */
|
||||
ExFreePool(SentMessage);
|
||||
ExFreePoolWithTag(SentMessage, TAG_USRMSG);
|
||||
|
||||
CurrentEntry = MessageQueue->SentMessagesListHead.Flink;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user