diff options
| author | Jason Evans <je@facebook.com> | 2010-05-12 01:24:19 (GMT) |
|---|---|---|
| committer | Jason Evans <je@facebook.com> | 2010-05-12 01:24:19 (GMT) |
| commit | e13243eb630fee6099932c4bb117b009127b9218 (patch) | |
| tree | fbc8138b51d2bd96b207ab7ece413a46a17bbf3a /jemalloc/src/jemalloc.c | |
| parent | 1af6ac42e303f229d5e8bb38252b1fb7371081b2 (diff) | |
| parent | 7013d10a9e8e1a183542111747dc9c324560975a (diff) | |
| download | jemalloc-1.0.2.zip jemalloc-1.0.2.tar.gz jemalloc-1.0.2.tar.bz2 | |
Merge branch 'dev'1.0.2
Diffstat (limited to 'jemalloc/src/jemalloc.c')
| -rw-r--r-- | jemalloc/src/jemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jemalloc/src/jemalloc.c b/jemalloc/src/jemalloc.c index aeab140..bf2ace3 100644 --- a/jemalloc/src/jemalloc.c +++ b/jemalloc/src/jemalloc.c @@ -775,7 +775,7 @@ MALLOC_OUT: #endif #ifndef NO_TLS - next_arena = 0; + next_arena = (narenas > 0) ? 1 : 0; #endif /* Allocate and initialize arenas. */ |
