remarkable-linux/sound/firewire/fireworks
Takashi Sakamoto d992909717 ALSA: fireworks: fix memory leak of response buffer at error path
commit c3b55e2ec9 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:06:03 -07:00
..
fireworks.c ALSA: fireworks: fix memory leak of response buffer at error path 2018-09-29 03:06:03 -07:00
fireworks.h
fireworks_command.c
fireworks_hwdep.c
fireworks_midi.c
fireworks_pcm.c ALSA: firewire: arrange common PCM info/constraints for AMDTP engine applications 2017-06-08 09:15:44 +02:00
fireworks_proc.c ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00
fireworks_stream.c
fireworks_transaction.c
Makefile