commit | ff405785386ed8bdee50c4afdc4a4f9a73bcb81e | [log] [tgz] |
---|---|---|
author | zhongjie <zhongjie.shi@intel.com> | Wed Mar 09 15:05:04 2016 +0800 |
committer | zhongjie <zhongjie.shi@intel.com> | Wed Mar 09 15:17:14 2016 +0800 |
tree | 14f070d9d380f4e1830fb33d1fd262c0180f3d19 | |
parent | 7dbaaf19eb3c2abde55a7082a2bfcea059dc8b72 [diff] |
Release resources when repeating dlopen-dlcose. When the libbinder.so is dlopen and dlclose many times, we need to delete the pthread_key and munmap the memory mapping. Otherwise, it will crash as the leakage causes the pthread_key or memory mapping surpass their limit. Change-Id: Ice64d4ef685c1f665350286f9e5ddf790beac236 Signed-off-by: zhongjie <zhongjie.shi@intel.com>