mirror of
https://github.com/reactos/reactos.git
synced 2024-07-17 18:06:11 +00:00
- Don't match tags if Tag is 0.
svn path=/trunk/; revision=39747
This commit is contained in:
parent
228454149b
commit
337400aaa8
|
@ -261,7 +261,7 @@ ExFreePoolWithTag(IN PVOID Block, IN ULONG Tag)
|
|||
else
|
||||
BlockTag = EiGetNonPagedPoolTag(Block);
|
||||
|
||||
if (BlockTag != Tag)
|
||||
if (BlockTag != Tag && Tag != 0)
|
||||
KeBugCheckEx(BAD_POOL_CALLER, 0x0a, (ULONG_PTR)Block, BlockTag, Tag);
|
||||
|
||||
ExFreePool(Block);
|
||||
|
|
Loading…
Reference in a new issue