commit | 0cd86b95096dda9f57a08a2926633605b1ce1e39 | [log] [tgz] |
---|---|---|
author | Joeseph Chang <joechang1@codeaurora.org> | Fri Apr 10 10:27:51 2015 +0800 |
committer | Jackeagle <jackeagle102@gmail.com> | Sun Nov 27 08:49:06 2016 +0530 |
tree | 65fcb771bfa789bf7d676c14805048a51c040756 | |
parent | 62f9990f0c2f8bd086091086afe5b7fa3fbe79e9 [diff] |
Fix dlfree error when delet mZipInflater _CompressedAsset::close() and _CompressedAsset::getBuffer() may delete mZipInflater object without mutex protection. This may cause muti threading race condition when two thread trying to delete mZipInflater object at the same time. Fix this issue by adding auto local mutex lock in _CompressedAsset::close() and _CompressedAsset::getBuffer(). Change-Id: I4ba059e51706ca64433a3289fd7dbc99dca48fda