diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2018-09-17 17:25:24 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-29 03:07:30 -0700 |
commit | cfedc16ac4f84cd92cb3336e0b8ce7a84962e2cb (patch) | |
tree | 61cd175cde8fc9c9c63b13e1fad388f2025579cf /sound/i2c | |
parent | acd5455f8f88f8ddb5dae2caa904ecbeb94a4ce1 (diff) |
ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
commit b1fbebd4164b3d170ad916dcd692cf843c9c065d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions