diff options
author | Jason Evans <je@fb.com> | 2014-05-16 05:38:52 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2014-05-16 05:38:52 (GMT) |
commit | d4a238ccb0a88cd65cb6f38a517ed46e143d2fd1 (patch) | |
tree | 511826b7cb6a2fd926f0e9018ef4c7d76cae6569 /src/jemalloc.c | |
parent | 4bbd11b78932cdae1fe8a856141f5837f5b4c621 (diff) | |
parent | e2deab7a751c8080c2b2cdcfd7b11887332be1bb (diff) | |
download | jemalloc-d4a238ccb0a88cd65cb6f38a517ed46e143d2fd1.zip jemalloc-d4a238ccb0a88cd65cb6f38a517ed46e143d2fd1.tar.gz jemalloc-d4a238ccb0a88cd65cb6f38a517ed46e143d2fd1.tar.bz2 |
Merge branch 'pr/80' into dev
Diffstat (limited to 'src/jemalloc.c')
-rw-r--r-- | src/jemalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c index 289d7f7..43a494e 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -1983,7 +1983,7 @@ a0alloc(size_t size, bool zero) if (size <= arena_maxclass) return (arena_malloc(arenas[0], size, zero, false)); else - return (huge_malloc(size, zero, huge_dss_prec_get(arenas[0]))); + return (huge_malloc(NULL, size, zero)); } void * @@ -2012,7 +2012,7 @@ a0free(void *ptr) if (chunk != ptr) arena_dalloc(chunk, ptr, false); else - huge_dalloc(ptr, true); + huge_dalloc(ptr); } /******************************************************************************/ |