OpenCloudOS-Kernel/sound/firewire/fireworks
Takashi Sakamoto c3b55e2ec9 ALSA: fireworks: fix memory leak of response buffer at error path
After allocating memory object for response buffer, ALSA fireworks
driver has leak of the memory object at error path.

This commit releases the object at the error path.

Fixes: 7d3c1d5901aa('ALSA: fireworks: 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:41:14 +02:00
..
Makefile ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 2015-10-18 09:08:11 +02:00
fireworks.c ALSA: fireworks: fix memory leak of response buffer at error path 2018-09-17 13:41:14 +02:00
fireworks.h sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
fireworks_command.c ALSA: fireworks: use u32 type for be32_to_cpup() macro 2015-10-19 11:57:02 +02:00
fireworks_hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
fireworks_midi.c ALSA: firewire: Constify snd_rawmidi_ops 2017-01-12 12:50:38 +01:00
fireworks_pcm.c ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc() 2018-07-18 08:24:29 +02:00
fireworks_proc.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
fireworks_stream.c ALSA: fireworks: fix asymmetric API call at unit removal 2017-01-03 11:36:13 +01:00
fireworks_transaction.c ALSA: fireworks: accessing to user space outside spinlock 2016-08-31 16:17:15 +02:00