Fix DEBUG_REDZONE build after r355169

This commit is contained in:
jeff 2019-11-28 08:56:14 +00:00
parent 79dc3a05bf
commit 6e09ead90c

View File

@ -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);