Re: [alsa-devel] [PATCH 1/2] ASoC: core: fix the memory leak in case of device_add() failure
27 Dec
2012
27 Dec
'12
6:16 p.m.
On Wed, Dec 26, 2012 at 12:56:05AM +0800, Chuansheng Liu wrote:
After called device_initialize(), even device_add() returns error, we still need use the put_device() to release the reference to call rtd_release(), which will do the free() action.
Applied both, thanks.
4341
Age (days ago)
4341
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown