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

Skip to content
Commit e9af7707 authored by Prasad Sodagudi's avatar Prasad Sodagudi Committed by Gerrit - the friendly Code Review server
Browse files

pinctrl: msm: Free mapping table entries of PIN_MAP_TYPE_MUX_GROUP type



Currently when pinctrl mapping table entries are freed, they are always
checked against PIN_MAP_TYPE_MUX_GROUP type. The bug in existing logic
causes only first entry in the mapping table to be checked against
PIN_MAP_TYPE_MUX_GROUP type. However at time of allocation, entry
corresponding to PIN_MAP_TYPE_MUX_GROUP is allocated as the second
entry. Thus the PIN_MAP_TYPE_MUX_GROUP allocation is never freed,
leading to memory leak.

CRs-Fixed: 802999
Change-Id: Ibb38c468a8b4e45a84dc533f42736662edc994a1
Signed-off-by: default avatarNeeraj Singh <sneeraj@codeaurora.org>
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: default avatarHanumant Singh <hanumant@codeaurora.org>
parent 2b5651ab
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