exynos-linux-stable/sound/firewire/fireworks
Takashi Sakamoto be6d42cd5c ALSA: fireworks: fix memory leak of response buffer at error path
commit c3b55e2ec9c76e7a0de2a0b1dc851fdc9440385b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-29 03:07:31 -07:00
..
fireworks.c ALSA: fireworks: fix memory leak of response buffer at error path 2018-09-29 03:07:31 -07:00
fireworks.h ALSA: fireworks: accessing to user space outside spinlock 2016-08-31 16:17:15 +02: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 ALSA: fireworks: accessing to user space outside spinlock 2016-08-31 16:17:15 +02:00
fireworks_midi.c ALSA: fireworks: change type of substream counter from atomic_t to unsigned int 2015-11-14 17:53:46 +01:00
fireworks_pcm.c ALSA: fireworks: change type of substream counter from atomic_t to unsigned int 2015-11-14 17:53:46 +01:00
fireworks_proc.c ALSA: fireworks: accessing to user space outside spinlock 2016-08-31 16:17:15 +02:00
fireworks_stream.c ALSA: fireworks: drop reuse of incoming packet parameter for ougoing packet parameter 2016-05-10 17:03:58 +02:00
fireworks_transaction.c ALSA: fireworks: accessing to user space outside spinlock 2016-08-31 16:17:15 +02:00
Makefile ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 2015-10-18 09:08:11 +02:00