mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 02:40:53 +00:00
ao_alsa: fix a small memory leak
This commit is contained in:
parent
371b52e377
commit
4ebed102f0
@ -615,6 +615,8 @@ static int init(struct ao *ao)
|
||||
} else {
|
||||
CHECK_ALSA_WARN("Channel map setup failed");
|
||||
}
|
||||
|
||||
free(alsa_chmap);
|
||||
}
|
||||
|
||||
snd_pcm_chmap_t *alsa_chmap = snd_pcm_get_chmap(p->alsa);
|
||||
|
Loading…
Reference in New Issue
Block a user