Author: hbelusca
Date: Sat Oct 6 21:42:19 2012
New Revision: 57506
URL:
http://svn.reactos.org/svn/reactos?rev=57506&view=rev
Log:
[NTOSKRNL]
Some ExFreePool -> ExFreePoolWithTag
CORE-6725 #resolve #comment Committed in r57506.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/ncache.c
trunk/reactos/ntoskrnl/mm/freelist.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/ncache.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/ncache.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/ncache.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/ncache.c [iso-8859-1] Sat Oct 6 21:42:19 2012
@@ -71,7 +71,7 @@
//
ASSERT(PageCount > MdlPageCount);
MmFreePagesFromMdl(Mdl);
- ExFreePool(Mdl);
+ ExFreePoolWithTag(Mdl, TAG_MDL);
return NULL;
}
@@ -86,7 +86,7 @@
// Out of memory...
//
MmFreePagesFromMdl(Mdl);
- ExFreePool(Mdl);
+ ExFreePoolWithTag(Mdl, TAG_MDL);
return NULL;
}
@@ -201,7 +201,7 @@
// Kill the MDL (and underlying pages)
//
MmFreePagesFromMdl(Mdl);
- ExFreePool(Mdl);
+ ExFreePoolWithTag(Mdl, TAG_MDL);
//
// Now free the system PTEs for the underlying VA
Modified: trunk/reactos/ntoskrnl/mm/freelist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/freelist.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/freelist.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/freelist.c [iso-8859-1] Sat Oct 6 21:42:19 2012
@@ -345,7 +345,7 @@
// If we didn' tfind any pages at all, fail
//
DPRINT1("NO MDL PAGES!\n");
- ExFreePool(Mdl);
+ ExFreePoolWithTag(Mdl, TAG_MDL);
return NULL;
}