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:
parent
5523399169
commit
1bb602125c
@ -353,7 +353,7 @@ tcache_dalloc_large(tcache_t *tcache, void *ptr, size_t size)
|
|||||||
|
|
||||||
#ifdef JEMALLOC_FILL
|
#ifdef JEMALLOC_FILL
|
||||||
if (opt_junk)
|
if (opt_junk)
|
||||||
memset(ptr, 0x5a, bin->reg_size);
|
memset(ptr, 0x5a, arena->bins[binind].reg_size);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
tbin = &tcache->tbins[binind];
|
tbin = &tcache->tbins[binind];
|
||||||
|
Loading…
Reference in New Issue
Block a user