diff options
author | Dan Carpenter <[email protected]> | 2021-04-09 15:34:41 +0300 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-04-09 16:15:20 +0200 |
commit | 57b138dde3504b79358cd0d95d989bf5eba8280b (patch) | |
tree | c64861f4dac963c47cca1fb8204a642ea6bb9c57 /drivers/fpga/fpga-mgr.c | |
parent | 64f40f9be14106e7df0098c427cb60be645bddb7 (diff) |
ALSA: control - double free in snd_ctl_led_init()
"group - 1" was intended here instead of "group". The current error
handling will double free the first item in the array and leak the last
item.
Fixes: cb17fe0045aa ("ALSA: control - add sysfs support to the LED trigger module")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/YHBJ4frGxErWB182@mwanda
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions