pcm: fix memory leak in _snd_pcm_parse_config_chmaps() (coverity)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2019-05-24 10:57:20 +02:00
parent d6ba264038
commit d5a1cf35b7

View file

@ -8391,6 +8391,7 @@ _snd_pcm_parse_config_chmaps(snd_config_t *conf)
free(chmap);
goto error;
}
free(chmap);
nums++;
}
return maps;