commit | 8e8a025a6587a97e3ed048b47a02575551f4db43 | [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 | 7b446acf7afdb921d0f56a90b009546d67aa0263 | |
parent | 6036e9d7046f898bb9d1621c9a703901265f1cc1 [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>