aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChuansheng Liu <chuansheng.liu@intel.com>2012-12-26 00:56:05 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-27 16:14:43 +0000
commit865df9cb122d9e5ecbbb7056f2c9c64933bf8dd0 (patch)
tree39e8c354c99d0118c037bfb4ac503046c2ce2ad7 /tools/perf/scripts/python/export-to-postgresql.py
parentASoC: soc-core: Remove unused 'ret' variable (diff)
downloadlinux-dev-865df9cb122d9e5ecbbb7056f2c9c64933bf8dd0.tar.xz
linux-dev-865df9cb122d9e5ecbbb7056f2c9c64933bf8dd0.zip
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions