diff options
author | Jason Evans <jasone@canonware.com> | 2012-10-16 17:40:57 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-10-16 17:40:57 (GMT) |
commit | 3b1f3aca54fede23299cde9034f7b909c3d290d7 (patch) | |
tree | 9915372dbfc04d5c086143570d74ac704a2eb736 /src/tcache.c | |
parent | fc9b1dbf69f59d7ecfc4ac68da9847e017e1d046 (diff) | |
parent | 2b592b0f0bd043c0d14f8923f3c16009e5e312d5 (diff) | |
download | jemalloc-3.1.0.zip jemalloc-3.1.0.tar.gz jemalloc-3.1.0.tar.bz2 |
Merge branch 'dev'3.1.0
Diffstat (limited to 'src/tcache.c')
-rw-r--r-- | src/tcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tcache.c b/src/tcache.c index 60244c4..47e14f3 100644 --- a/src/tcache.c +++ b/src/tcache.c @@ -288,7 +288,7 @@ tcache_create(arena_t *arena) else if (size <= tcache_maxclass) tcache = (tcache_t *)arena_malloc_large(arena, size, true); else - tcache = (tcache_t *)icalloc(size); + tcache = (tcache_t *)icallocx(size, false, arena); if (tcache == NULL) return (NULL); @@ -364,7 +364,7 @@ tcache_destroy(tcache_t *tcache) arena_dalloc_large(arena, chunk, tcache); } else - idalloc(tcache); + idallocx(tcache, false); } void |