linux-stable-rt/sound
Kulikov Vasiliy 50e8ce1469 ASoC: imx: check kzalloc() result and fix memory leak
If kzalloc() fails we must exit with -ENOMEM. Also we must free
allocated runtime->private_data on error as it would be lost on next
call to snd_imx_open().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-07-17 19:45:56 +01:00
..
aoa
arm
atmel
core
drivers
i2c
isa
mips sound: Add missing spin_unlock 2010-05-27 09:47:02 +02:00
oss sound: Add missing spin_unlock 2010-05-27 09:47:02 +02:00
parisc
pci Merge branch 'fix/hda' into for-linus 2010-05-29 21:50:36 +02:00
pcmcia
ppc
sh
soc ASoC: imx: check kzalloc() result and fix memory leak 2010-07-17 19:45:56 +01:00
sparc
spi
synth
usb Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-29 15:31:57 -07:00
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c
sound_firmware.c