Messages in this thread | | | Date | Wed, 28 Oct 2020 08:43:10 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH 4.19 072/264] ASoC: qcom: lpass-platform: fix memory leak |
| |
On Wed 2020-10-28 13:04:02, Rohit Kumar wrote: > Thanks Pavel for the review. > > On 10/28/2020 12:32 PM, Pavel Machek wrote: > >Hi! > > > >>From: Rohit kumar <rohitkr@codeaurora.org> > >> > >>[ Upstream commit 5fd188215d4eb52703600d8986b22311099a5940 ] > >> > >>lpass_pcm_data is never freed. Free it in close > >>ops to avoid memory leak. > >AFAICT this introduces memory leaks in the error paths. > Yes, I will post the fix soon. Thanks for review.
Well, the email had a fix attached :-). Feel free to review it and use it...
Best regards,
Pavel
-- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany [unhandled content-type:application/pgp-signature] | |