[pulseaudio-commits] r1216 - /trunk/src/modules/module-oss.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Aug 12 06:17:40 PDT 2006


Author: lennart
Date: Sat Aug 12 15:17:33 2006
New Revision: 1216

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1216&root=pulseaudio&view=rev
Log:
fix a segfault in module-oss

Modified:
    trunk/src/modules/module-oss.c

Modified: trunk/src/modules/module-oss.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-oss.c?rev=1216&root=pulseaudio&r1=1215&r2=1216&view=diff
==============================================================================
--- trunk/src/modules/module-oss.c (original)
+++ trunk/src/modules/module-oss.c Sat Aug 12 15:17:33 2006
@@ -432,7 +432,7 @@
         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 : "",




More information about the pulseaudio-commits mailing list