mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
pcm: fix memory leak in _snd_pcm_parse_config_chmaps() (coverity)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
d6ba264038
commit
d5a1cf35b7
1 changed files with 1 additions and 0 deletions
|
|
@ -8391,6 +8391,7 @@ _snd_pcm_parse_config_chmaps(snd_config_t *conf)
|
|||
free(chmap);
|
||||
goto error;
|
||||
}
|
||||
free(chmap);
|
||||
nums++;
|
||||
}
|
||||
return maps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue