summaryrefslogtreecommitdiffstats
path: root/src/tcache.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-03-23 23:04:38 (GMT)
committerJason Evans <jasone@canonware.com>2016-03-23 23:15:42 (GMT)
commit61a6dfcd5fd89d21f04c99fabaf7269d05f61adf (patch)
tree6290e4df44d29b891d0780acc18f6fe14db18aca /src/tcache.c
parentf6bd2e5a178aed23398996f008feee5bf070a624 (diff)
downloadjemalloc-61a6dfcd5fd89d21f04c99fabaf7269d05f61adf.zip
jemalloc-61a6dfcd5fd89d21f04c99fabaf7269d05f61adf.tar.gz
jemalloc-61a6dfcd5fd89d21f04c99fabaf7269d05f61adf.tar.bz2
Constify various internal arena APIs.
Diffstat (limited to 'src/tcache.c')
-rw-r--r--src/tcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcache.c b/src/tcache.c
index c12727a..a8620c3 100644
--- a/src/tcache.c
+++ b/src/tcache.c
@@ -129,7 +129,7 @@ tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin,
size_t pageind = ((uintptr_t)ptr -
(uintptr_t)chunk) >> LG_PAGE;
arena_chunk_map_bits_t *bitselm =
- arena_bitselm_get(chunk, pageind);
+ arena_bitselm_get_mutable(chunk, pageind);
arena_dalloc_bin_junked_locked(bin_arena, chunk,
ptr, bitselm);
} else {