commit | c35104535cf60fd0bb42640c4993172a62e83671 | [log] [tgz] |
---|---|---|
author | Andrew Rossignol <aarossig@google.com> | Tue Aug 09 10:54:38 2016 -0700 |
committer | Brian Duddie <bduddie@google.com> | Wed Aug 24 18:15:38 2016 +0000 |
tree | bf6b04a2b003a86cf0c5ba7b862ad7e2be7d6a0d | |
parent | d90b69ffb172adb1ce0b943a69e37ac8b2937894 [diff] |
ContextHub: Avoid reference leaks The ContextHub HAL was leaking references in passOnOsResponse. An example of this is when a sensor hub reset occurs. If many of these resets happen, the local reference pool is exhausted and a crash in the HAL occurs. Bug: 30706325 Change-Id: Ica5328137a7033f512d7fb1ccf6fa138eab55091 (cherry picked from commit 52dda598963cefc82cfc5e55342ff631a07fd6d4)