mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:25:58 +00:00
[NTOS:EX]
- Fix MDL leak in NtStopProfile CORE-10066 svn path=/trunk/; revision=68858
This commit is contained in:
parent
7ac60d428d
commit
a2833fad4b
1 changed files with 1 additions and 0 deletions
|
@ -453,6 +453,7 @@ NtStopProfile(IN HANDLE ProfileHandle)
|
|||
/* Unlock the Buffer */
|
||||
MmUnmapLockedPages(Profile->LockedBufferAddress, Profile->Mdl);
|
||||
MmUnlockPages(Profile->Mdl);
|
||||
IoFreeMdl(Profile->Mdl);
|
||||
ExFreePoolWithTag(Profile->ProfileObject, TAG_PROFILE);
|
||||
|
||||
/* Clear the Locked Buffer pointer, meaning the Object is Stopped */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue