Home
last modified time | relevance | path

Searched hist:"865 df9cb122d9e5ecbbb7056f2c9c64933bf8dd0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/
H A Dsoc-core.cdiff 865df9cb122d9e5ecbbb7056f2c9c64933bf8dd0 Tue Dec 25 10:56:05 CST 2012 Chuansheng Liu <chuansheng.liu@intel.com> ASoC: core: fix the memory leak in case of device_add() failure

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.

Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>