Fix DEBUG_REDZONE build after r355169
This commit is contained in:
parent
79dc3a05bf
commit
6e09ead90c
@ -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