commit | af660860df9b90b7243ba5eebbb66945c59cbd42 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Fri Feb 21 13:45:04 2020 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Mar 16 01:39:39 2020 -0700 |
tree | 369081857f953d9e1d61f2dc2e9412c7879d0154 | |
parent | 02bc7cf035ed24420e0b161f711f6d29b59d3ec1 [diff] |
st-hal: fix mem leak issue When processing a non va detection event, local_event could be allocated two times without releasing the first one, thus causing mem leak issue. Remove the unnecessary allocation for non va detection event. Change-Id: I9b86de025e13b2cb5eef6db124c5a462f8ec03e4