commit | 7ac5baf593291f7a29a0c652346680cc4fe9190c | [log] [tgz] |
---|---|---|
author | Vidyakumar Athota <vathota@codeaurora.org> | Wed Dec 16 23:42:39 2015 +0000 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sat Aug 05 18:19:41 2017 +0200 |
tree | 4078e090d359909894bf73834c368b61d25b9920 | |
parent | 4a9d4020f41c43e1df4162ce509e2ed451b7c866 [diff] |
ASoC: msm-lsm-client: free lsm client data in msm_lsm_close Currently lsm client data is deallocated when q6lsm_open() fails which can cause memory corruption if lsm client data is accessed after freed. Fix this issue by deallocating the client data only in msm_lsm_close(). Change-Id: If048c26a0ffd8a346a28622183cbf2ba1e7e5ff3 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>