mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Don't match tags if Tag is 0.
svn path=/trunk/; revision=39747
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user