diff options
| author | 2016-03-09 15:05:04 +0800 | |
|---|---|---|
| committer | 2016-03-09 15:17:14 +0800 | |
| commit | ff405785386ed8bdee50c4afdc4a4f9a73bcb81e (patch) | |
| tree | 14f070d9d380f4e1830fb33d1fd262c0180f3d19 /opengl/libs/hooks.h | |
| 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>
Diffstat (limited to 'opengl/libs/hooks.h')
0 files changed, 0 insertions, 0 deletions