Fix DEBUG_REDZONE build after r355169
This commit is contained in:
parent
c2a8682ae8
commit
b476ae7f52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355171
@ -834,6 +834,7 @@ realloc(void *addr, size_t size, struct malloc_type *mtp, int flags)
|
||||
|
||||
#ifdef DEBUG_REDZONE
|
||||
slab = NULL;
|
||||
zone = NULL;
|
||||
alloc = redzone_get_size(addr);
|
||||
#else
|
||||
vtozoneslab((vm_offset_t)addr & (~UMA_SLAB_MASK), &zone, &slab);
|
||||
|
Loading…
Reference in New Issue
Block a user