projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b606c09
)
fix minor memleak in prober
author
Lennart Poettering
<lennart@poettering.net>
Wed, 21 Jan 2009 23:24:28 +0000
(
00:24
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 21 Jan 2009 23:26:34 +0000
(
00:26
+0100)
src/modules/alsa/alsa-util.c
patch
|
blob
|
history
diff --git
a/src/modules/alsa/alsa-util.c
b/src/modules/alsa/alsa-util.c
index e154f6ea895de38d38ed099e90851d3fc02dc1cd..599079cada78ad760fd630110b2eb95fe2d50fda 100644
(file)
--- a/
src/modules/alsa/alsa-util.c
+++ b/
src/modules/alsa/alsa-util.c
@@
-836,6
+836,8
@@
snd_pcm_t *pa_alsa_open_by_device_string(
if (dev)
*dev = d;
+ else
+ pa_xfree(d);
if (ss->channels != map->channels)
pa_channel_map_init_extend(map, ss->channels, PA_CHANNEL_MAP_ALSA);