mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +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
|
@ -983,7 +983,7 @@ co_MsqDispatchOneSentMessage(PUSER_MESSAGE_QUEUE MessageQueue)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* free the message */
|
/* free the message */
|
||||||
ExFreePool(Message);
|
ExFreePoolWithTag(Message, TAG_USRMSG);
|
||||||
return(TRUE);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1060,7 +1060,7 @@ MsqRemoveWindowMessagesFromQueue(PVOID pWindow)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* free the message */
|
/* free the message */
|
||||||
ExFreePool(SentMessage);
|
ExFreePoolWithTag(SentMessage, TAG_USRMSG);
|
||||||
|
|
||||||
CurrentEntry = MessageQueue->SentMessagesListHead.Flink;
|
CurrentEntry = MessageQueue->SentMessagesListHead.Flink;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue