[alsa-devel] [PATCH 2/12] ak4642: fix a memory leak if failed to initialise AK4642
kuninori.morimoto.gx at renesas.com
Thu Jul 15 08:29:55 CEST 2010
> I think the i2c core will take care of it now.
> see below commit log:
> commit e4a7b9b04de15f6b63da5ccdd373ffa3057a3681
I didn't know that.
> In ak4642_init, current implementation will call
> snd_soc_unregister_codec(codec); before goto reg_cache_err;
> Therefore, it should be no problem.
So now, your patches are very good !!
More information about the Alsa-devel