Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be985ae7 authored by Chandan Kumar Jha's avatar Chandan Kumar Jha
Browse files

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: default avatarChandan Kumar Jha <cjha@codeaurora.org>
parent 0fbb6a6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment