diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 323926e1..fa51ca99 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -8391,6 +8391,7 @@ _snd_pcm_parse_config_chmaps(snd_config_t *conf) free(chmap); goto error; } + free(chmap); nums++; } return maps;