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:Neeraj Singh <sneeraj@codeaurora.org> Signed-off-by:
Prasad Sodagudi <psodagud@codeaurora.org> Signed-off-by:
Hanumant Singh <hanumant@codeaurora.org>
Loading
Please register or sign in to comment