Update stale JEMALLOC_FILL code.

Fix a compilation error due to stale data structure access code in
tcache_dalloc_large() for junk filling.
This commit is contained in:
Jason Evans 2010-04-13 16:06:22 -07:00
parent 5523399169
commit 1bb602125c

View File

@ -353,7 +353,7 @@ tcache_dalloc_large(tcache_t *tcache, void *ptr, size_t size)
#ifdef JEMALLOC_FILL
if (opt_junk)
memset(ptr, 0x5a, bin->reg_size);
memset(ptr, 0x5a, arena->bins[binind].reg_size);
#endif
tbin = &tcache->tbins[binind];