mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: fix chmaps leak
This commit is contained in:
parent
bf33ce3fc0
commit
1baef2625c
1 changed files with 1 additions and 0 deletions
|
|
@ -315,6 +315,7 @@ spa_alsa_enum_format(struct state *state, uint32_t *index,
|
|||
|
||||
if (maps[*index] == NULL) {
|
||||
res = 0;
|
||||
snd_pcm_free_chmaps(maps);
|
||||
goto exit;
|
||||
}
|
||||
map = &maps[*index]->map;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue