Fix leak of arenas_cache in tsd cleanup.

In the function tsd_cleanup(), for nominal tsds, the cleanup function
can wind up creating an arenas_cache. Unfortunately, the tsd_set call
winds up leaking this cache by setting the pointer to NULL. Fix this by
cleaning just the arenas_cache from the newly created tsd.

Bug: 26913856
Change-Id: I84957abdd343bf60106d7d4a92da896f4369a9a9
1 file changed