+1
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If dpcm_fe_dai_open doesn't find a valid path,memory allocated for list
of dapm widgets is being freed.List is accessed in function after
freeing and it is being freed at the end.
This change will ensure that list is freed at the end to
prevent double free and any invalid access in case of error conditions.
CRs-fixed: 663092
Change-Id: I1c345459d8ba6f4b8e2d2545b298ea3c0c1797a2
Signed-off-by:
Gopikrishnaiah Anandan <agopik@codeaurora.org>