- Timestamp:
- Apr 4, 2020 11:04:04 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/alloc-ef.cpp
r83546 r83547 706 706 if (enmType == RTMEMTYPE_RTMEMFREEZ) 707 707 RT_BZERO(pv, pBlock->cbUnaligned); 708 # ifdef RTALLOC_EFENCE_FREE_FILL708 # ifdef RTALLOC_EFENCE_FREE_FILL 709 709 else 710 710 memset(pv, RTALLOC_EFENCE_FREE_FILL, pBlock->cbUnaligned); … … 775 775 * since we know that it's around. 776 776 */ 777 if (enmType == RTMEMTYPE_RTMEMFREEZ) 778 RT_BZERO(pv, cbUser); 777 779 int rc = RTMemProtect((void *)((uintptr_t)pv & ~(uintptr_t)PAGE_OFFSET_MASK), PAGE_SIZE, RTMEM_PROT_NONE); 778 780 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.