ASoC: davinci-vcif - fix a memory leak
PATCH 1/1 ASoC: davinci-vcif - fix a memory leak
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/davinci/davinci-vcif.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
sound/soc/davinci/davinci-vcif.c +3 -0
@@ -247,7 +247,10 @@ fail:static int davinci_vcif_remove (struct platform_device *pdev) { +struct davinci_vcif_dev *davinci_vcif_dev =dev_get_drvdata (&pdev->dev); +snd_soc_unregister_dai (&pdev->dev); +kfree (davinci_vcif_dev);return 0 ; }
Signature · 1 line
1.7.2
Quoted 10 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>--- sound/soc/davinci/davinci-vcif.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)sound/soc/davinci/davinci-vcif.c +0
-0
sound/soc/davinci/davinci-vcif.c fail: · line 256
Quoted 10 lines
sound/soc/davinci/davinci-vcif.c +3
-0@@ -247,7 +247,10 @@ fail:static int davinci_vcif_remove (struct platform_device *pdev) { +struct davinci_vcif_dev *davinci_vcif_dev =dev_get_drvdata (&pdev->dev); +snd_soc_unregister_dai (&pdev->dev); +kfree (davinci_vcif_dev);return 0 ; }
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Mark Brown
AppliedQuoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Applied, thanks.