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

Commit 1f0408fc authored by Abhinav Parihar's avatar Abhinav Parihar
Browse files

msm: adsprpc: Avoid double free on map



Decrement and check the ref count of map
inside the lock. Otherwise, two threads may
free the same map.

Change-Id: I081b937bfd3e8da3e2480f062cad6966662994b5
Acked-by: default avatarSharad Kumar <sharku@qti.qualcomm.com>
Signed-off-by: default avatarAbhinav Parihar <quic_parihar@quicinc.com>
parent c29b6939
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment