commit | 020b64f6a95b866c86d18a110e58aad4ab74ae30 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Feb 11 13:14:24 2016 -0800 |
committer | Christopher Ferris <cferris@google.com> | Thu Feb 11 13:14:24 2016 -0800 |
tree | 2b0301c374ba9e18aff953c67c4a3dec57dd0ed4 | |
parent | 14d6af1aa29cffc323606f2c41c531f3b64f4072 [diff] |
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