Commit 1446b7d2 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>
(cherry picked from commit 1f0408fc)
parent e9447418
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment