diff options
author | Jason Evans <jasone@canonware.com> | 2015-02-12 08:09:37 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-02-12 08:15:16 (GMT) |
commit | 064dbfbaf76617643bbbe66cbcc880e7ee9ec00f (patch) | |
tree | e3067cd1b5d0aa47723f73ab97a3f3ce99ca7627 /src/tcache.c | |
parent | 051eae8cc591dfa2955cbfa73aae79ab53620c08 (diff) | |
download | jemalloc-064dbfbaf76617643bbbe66cbcc880e7ee9ec00f.zip jemalloc-064dbfbaf76617643bbbe66cbcc880e7ee9ec00f.tar.gz jemalloc-064dbfbaf76617643bbbe66cbcc880e7ee9ec00f.tar.bz2 |
Fix a regression in tcache_bin_flush_small().
Fix a serious regression in tcache_bin_flush_small() that was introduced
by 1cb181ed632e7573fb4eab194e4d216867222d27 (Implement explicit tcache
support.).
Diffstat (limited to 'src/tcache.c')
-rw-r--r-- | src/tcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcache.c b/src/tcache.c index 9fe78c3..1166d60 100644 --- a/src/tcache.c +++ b/src/tcache.c @@ -103,7 +103,7 @@ tcache_bin_flush_small(tsd_t *tsd, tcache_bin_t *tbin, index_t binind, arena_chunk_t *chunk = (arena_chunk_t *)CHUNK_ADDR2BASE( tbin->avail[0]); arena_t *bin_arena = chunk->arena; - arena_bin_t *bin = &arena->bins[binind]; + arena_bin_t *bin = &bin_arena->bins[binind]; if (config_prof && bin_arena == arena) { if (arena_prof_accum(arena, tcache->prof_accumbytes)) |