OpenCloudOS-Kernel/sound/firewire/bebob
Takashi Sakamoto b1fbebd416 ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
After allocating model-dependent data for M-Audio FW1814 and ProjectMix
I/O, ALSA bebob driver has memory leak at error path.

This commit releases the allocated data at the error path.

Fixes: 04a2c73c97eb('ALSA: bebob: delayed registration of sound card')
Cc: <stable@vger.kernel.org> # v4.7+
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-09-17 13:36:54 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bebob.c ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path 2018-09-17 13:36:54 +02:00
bebob.h ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00
bebob_command.c ALSA: firewire-lib/bebob/oxfw: improve response evaluation for AV/C commands 2017-04-05 21:37:23 +02:00
bebob_focusrite.c ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00
bebob_hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
bebob_maudio.c ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path 2018-09-17 13:36:54 +02:00
bebob_midi.c ALSA: firewire: Constify snd_rawmidi_ops 2017-01-12 12:50:38 +01:00
bebob_pcm.c ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc() 2018-07-18 08:24:29 +02:00
bebob_proc.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
bebob_stream.c ALSA: firewire-lib: enable the same feature as CIP_SKIP_INIT_DBC_CHECK flag 2016-05-10 17:04:01 +02:00
bebob_terratec.c ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00
bebob_yamaha_terratec.c ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00