Skip to content

Commit

Permalink
Fix DEBUG_REDZONE build after r355169
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.freebsd.org/base/head@355171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
  • Loading branch information
jeff committed Nov 28, 2019
1 parent 1178502 commit 7495918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/kern/kern_malloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7495918

Please sign in to comment.