Author: tfaber Date: Sat Aug 29 14:14:43 2015 New Revision: 68858
URL: http://svn.reactos.org/svn/reactos?rev=68858&view=rev Log: [NTOS:EX] - Fix MDL leak in NtStopProfile CORE-10066
Modified: trunk/reactos/ntoskrnl/ex/profile.c
Modified: trunk/reactos/ntoskrnl/ex/profile.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/profile.c?rev=6... ============================================================================== --- trunk/reactos/ntoskrnl/ex/profile.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ex/profile.c [iso-8859-1] Sat Aug 29 14:14:43 2015 @@ -453,6 +453,7 @@ /* 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 */