Re: [PATCH] ASoC: pxa-ssp: fix a memory leak in pxa_ssp_remove()

From: Axel Lin
Date: Thu Aug 26 2010 - 02:10:32 EST


2010/8/25 Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
> On Wed, Aug 25, 2010 at 04:59:11PM +0800, Axel Lin wrote:
>> The "priv" allocated in pxa_ssp_probe() should be kfreed in pxa_ssp_remove().
>>
>> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
>
> This doesn't apply against current ASoC.  I fixed this up by hand since
> the error was so trivial but in future could you please make sure you
> generate your code against the latest version of ASoC?  This will be in
> -next at any given time, or for the individual tree you want the latest
> for-2.6.nn branch of:
>
>  git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git
>

Thanks, Mark.
I just thought this fix should be applied to 2.6.36.
And ASoC tree will have this fix after merge 2.6.36.

Regards,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/