diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2018-09-17 11:26:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-09-17 14:41:14 +0300 |
commit | c3b55e2ec9c76e7a0de2a0b1dc851fdc9440385b (patch) | |
tree | f79472179806210280cb49c62be68b2260030424 /include/sound/hdaudio.h | |
parent | 1064bc685d359f549f91c2d5f111965a9284f328 (diff) | |
download | linux-c3b55e2ec9c76e7a0de2a0b1dc851fdc9440385b.tar.xz |
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>
Diffstat (limited to 'include/sound/hdaudio.h')
0 files changed, 0 insertions, 0 deletions