mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:26:02 +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
1 changed files with 3 additions and 0 deletions
|
@ -378,6 +378,9 @@ MmFreeMemoryArea(
|
|||
}
|
||||
}
|
||||
|
||||
#if DBG
|
||||
MemoryArea->Magic = 'daeD';
|
||||
#endif
|
||||
ExFreePoolWithTag(MemoryArea, TAG_MAREA);
|
||||
|
||||
DPRINT("MmFreeMemoryAreaByNode() succeeded\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue