mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[WIN32K] Free allocations with the tag that was used to allocate them
svn path=/trunk/; revision=47632
This commit is contained in:
parent
dd3d52b5ed
commit
d607e811d9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue