projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7ac60d4
)
[NTOS:EX]
author
Thomas Faber
<thomas.faber@reactos.org>
Sat, 29 Aug 2015 14:14:43 +0000
(14:14 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sat, 29 Aug 2015 14:14:43 +0000
(14:14 +0000)
- Fix MDL leak in NtStopProfile
CORE-10066
svn path=/trunk/; revision=68858
reactos/ntoskrnl/ex/profile.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ex/profile.c
b/reactos/ntoskrnl/ex/profile.c
index
20a6c88
..
1784bd4
100644
(file)
--- a/
reactos/ntoskrnl/ex/profile.c
+++ b/
reactos/ntoskrnl/ex/profile.c
@@
-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 */