mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
apparently alsa expects us to free the memory for card names
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2384 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
d21f458951
commit
6f4d44bb50
1 changed files with 3 additions and 0 deletions
|
|
@ -1060,6 +1060,9 @@ void pa_alsa_init_proplist(pa_proplist *p, snd_pcm_info_t *pcm_info) {
|
|||
pa_proplist_sets(p, PA_PROP_DEVICE_DESCRIPTION, cn);
|
||||
else if (n)
|
||||
pa_proplist_sets(p, PA_PROP_DEVICE_DESCRIPTION, n);
|
||||
|
||||
free(lcn);
|
||||
free(cn);
|
||||
}
|
||||
|
||||
int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue