commit | be985ae79c4dd45d1b9d3cdaacaed2e9d2a5520e | [log] [tgz] |
---|---|---|
author | Chandan Kumar Jha <cjha@codeaurora.org> | Tue Feb 11 17:50:54 2020 +0530 |
committer | Chandan Kumar Jha <cjha@codeaurora.org> | Tue Feb 18 17:19:37 2020 +0530 |
tree | c073f90af066d4b73cc32568cf5dfd49fd485cc8 | |
parent | 0fbb6a6aa9b65e99662348582c37d0ee00d4b947 [diff] |
msm:camera:lrme: Fix LRME context Ref Count leak LRME ref count is not done properly. It will lead to context ref count leak. This change prevents ref count leak by checking refcount value before decrementing the ref count. It is making sure the ref count never goes below zero. Change-Id: Ie6927eb7465ec656cdc959a39fbefe79dcc511fa Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>