Re: [PATCH 2/12] ak4642: fix a memory leak if failed to initialise AK4642

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Axel

> I think the i2c core will take care of it now.
> see below commit log:
> commit e4a7b9b04de15f6b63da5ccdd373ffa3057a3681

Ohh !!
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.

Indeed =)

So now, your patches are very good !!

Best regards
--
Kuninori Morimoto
 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux