mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +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
|
@ -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…
Reference in a new issue