projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d21f458
)
apparently alsa expects us to free the memory for card names
author
Lennart Poettering
<lennart@poettering.net>
Wed, 7 May 2008 20:35:25 +0000
(20:35 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 7 May 2008 20:35:25 +0000
(20:35 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2384
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/modules/alsa-util.c
patch
|
blob
|
history
diff --git
a/src/modules/alsa-util.c
b/src/modules/alsa-util.c
index
47ed9ac
..
d212abc
100644
(file)
--- a/
src/modules/alsa-util.c
+++ b/
src/modules/alsa-util.c
@@
-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) {