Make sure the arena cache cannot be reused.

The arena cache is freed when the jemalloc key is destroyed. However,
if another key destroy function winds up making an allocation, jemalloc
can wind up rewriting the arena pointers into the previous arena cache
pointer. The fix is to clear out the pointer and make sure that
the arena cache will not be recreated.

Bug: 20296122
Change-Id: I5df933e5841dd66c4936fb356bda13aec82a2803
1 file changed