mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
add some asserts
svn path=/trunk/; revision=14498
This commit is contained in:
parent
13027a8afa
commit
f165c00432
1 changed files with 12 additions and 9 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue