Fix a chunk leak in chunk_alloc_mmap().

A missing 'else' in chunk_alloc_mmap() caused an extra chunk to be
allocated every time the optimistic alignment path was entered, since
the following block would always be executed immediately afterward.
This chunk leak caused no increase in physical memory usage, but virtual
memory could grow until resource exaustion caused allocation failures.
2 files changed
tree: cd81b1101ef5552d12a40b8c56cc9671d368c687
  1. jemalloc/
  2. .gitignore