mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[NTOS:MM]
- In debug builds, invalidate the MEMORY_AREA's Magic on destroy to catch potential uses after free svn path=/trunk/; revision=72161
This commit is contained in:
parent
8a32608dfe
commit
41defc9597
|
@ -378,6 +378,9 @@ MmFreeMemoryArea(
|
|||
}
|
||||
}
|
||||
|
||||
#if DBG
|
||||
MemoryArea->Magic = 'daeD';
|
||||
#endif
|
||||
ExFreePoolWithTag(MemoryArea, TAG_MAREA);
|
||||
|
||||
DPRINT("MmFreeMemoryAreaByNode() succeeded\n");
|
||||
|
|
Loading…
Reference in a new issue