projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WIN32K] Free allocations with the tag that was used to allocate them
[reactos.git]
/
reactos
/
subsystems
/
win32
/
win32k
/
ntuser
/
msgqueue.c
diff --git
a/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
b/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
index
5e408a8
..
33b8119
100644
(file)
--- a/
reactos/subsystems/win32/win32k/ntuser/msgqueue.c
+++ b/
reactos/subsystems/win32/win32k/ntuser/msgqueue.c
@@
-983,7
+983,7
@@
co_MsqDispatchOneSentMessage(PUSER_MESSAGE_QUEUE MessageQueue)
}
/* free the message */
}
/* free the message */
- ExFreePool
(Message
);
+ ExFreePool
WithTag(Message, TAG_USRMSG
);
return(TRUE);
}
return(TRUE);
}
@@
-1060,7
+1060,7
@@
MsqRemoveWindowMessagesFromQueue(PVOID pWindow)
}
/* free the message */
}
/* free the message */
- ExFreePool
(SentMessage
);
+ ExFreePool
WithTag(SentMessage, TAG_USRMSG
);
CurrentEntry = MessageQueue->SentMessagesListHead.Flink;
}
CurrentEntry = MessageQueue->SentMessagesListHead.Flink;
}