summaryrefslogtreecommitdiff
path: root/src/modules/module-oss.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-12 13:17:33 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-12 13:17:33 +0000
commit7fa074480687dff06723b7078c8146aae5eec61a (patch)
tree3c5f302b593b96e6db564e732e01d39867c85795 /src/modules/module-oss.c
parent2d702715f7f1b2158a50d5c838b0bad0487b42fd (diff)
fix a segfault in module-oss
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1216 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-oss.c')
-rw-r--r--src/modules/module-oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-oss.c b/src/modules/module-oss.c
index 085ae5da3..5ce741510 100644
--- a/src/modules/module-oss.c
+++ b/src/modules/module-oss.c
@@ -432,7 +432,7 @@ int pa__init(pa_core *c, pa_module*m) {
u->sink->set_hw_volume = sink_set_hw_volume;
u->sink->userdata = u;
pa_sink_set_owner(u->sink, m);
- pa_sink_set_description(u->sink, pa_sprintf_malloc("OSS PCM on %s%s%s%s",
+ pa_sink_set_description(u->sink, t = pa_sprintf_malloc("OSS PCM on %s%s%s%s",
p,
hwdesc[0] ? " (" : "",
hwdesc[0] ? hwdesc : "",