msm: adsprpc: Avoid taking reference for group_info
Currently, the get_current_groups API accesses group info, which increases the usage refcount. If the IOCTL using the get_current_groups API is called many times, the usage counter overflows. To avoid this, access group info without taking a reference. A reference is not required as group info is not released during the IOCTL call. Change-Id: I596fefd315a942864c05ad13778effdbce32acba Signed-off-by:ANANDU KRISHNAN E <[email protected]> (cherry picked from commit 28204d12)
Loading
Please register or sign in to comment