summaryrefslogtreecommitdiff
path: root/opengl/libs/hooks.h
diff options
context:
space:
mode:
author zhongjie <zhongjie.shi@intel.com> 2016-03-09 15:05:04 +0800
committer zhongjie <zhongjie.shi@intel.com> 2016-03-09 15:17:14 +0800
commitff405785386ed8bdee50c4afdc4a4f9a73bcb81e (patch)
tree14f070d9d380f4e1830fb33d1fd262c0180f3d19 /opengl/libs/hooks.h
parent7dbaaf19eb3c2abde55a7082a2bfcea059dc8b72 (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