add some asserts

svn path=/trunk/; revision=14498
This commit is contained in:
Royce Mitchell III 2005-04-05 05:12:16 +00:00
parent 13027a8afa
commit f165c00432

View file

@ -127,6 +127,9 @@ IoFreeMdl(PMDL Mdl)
* This unmaps partial mdl's from kernel space but also asserts that non-partial * This unmaps partial mdl's from kernel space but also asserts that non-partial
* mdl's isn't still mapped into kernel space. * mdl's isn't still mapped into kernel space.
*/ */
ASSERT(Mdl);
ASSERT_IRQL(DISPATCH_LEVEL);
MmPrepareMdlForReuse(Mdl); MmPrepareMdlForReuse(Mdl);
ExFreePool(Mdl); ExFreePool(Mdl);