mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 05:01:31 +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 */
|
/* 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…
Add table
Add a link
Reference in a new issue