mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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
|
||||
* mdl's isn't still mapped into kernel space.
|
||||
*/
|
||||
ASSERT(Mdl);
|
||||
ASSERT_IRQL(DISPATCH_LEVEL);
|
||||
|
||||
MmPrepareMdlForReuse(Mdl);
|
||||
|
||||
ExFreePool(Mdl);
|
||||
|
|
Loading…
Reference in a new issue