Date: Thu, 28 Nov 2019 08:56:14 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r355171 - head/sys/kern Message-ID: <201911280856.xAS8uEeh055942@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jeff Date: Thu Nov 28 08:56:14 2019 New Revision: 355171 URL: https://svnweb.freebsd.org/changeset/base/355171 Log: Fix DEBUG_REDZONE build after r355169 Modified: head/sys/kern/kern_malloc.c Modified: head/sys/kern/kern_malloc.c ============================================================================== --- head/sys/kern/kern_malloc.c Thu Nov 28 08:47:36 2019 (r355170) +++ head/sys/kern/kern_malloc.c Thu Nov 28 08:56:14 2019 (r355171) @@ -834,6 +834,7 @@ realloc(void *addr, size_t size, struct malloc_type *m #ifdef DEBUG_REDZONE slab = NULL; + zone = NULL; alloc = redzone_get_size(addr); #else vtozoneslab((vm_offset_t)addr & (~UMA_SLAB_MASK), &zone, &slab);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911280856.xAS8uEeh055942>