mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 23:21:41 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue