[pulseaudio-commits] r1405 - /trunk/src/pulse/thread-mainloop.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Mon Nov 6 02:14:17 PST 2006
Author: ossman
Date: Mon Nov 6 11:14:16 2006
New Revision: 1405
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1405&root=3Dpulseaudio&vi=
ew=3Drev
Log:
Handle when threaded mainloop is freed before it is started.
Modified:
trunk/src/pulse/thread-mainloop.c
Modified: trunk/src/pulse/thread-mainloop.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/thread-mainloop=
.c?rev=3D1405&root=3Dpulseaudio&r1=3D1404&r2=3D1405&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/src/pulse/thread-mainloop.c (original)
+++ trunk/src/pulse/thread-mainloop.c Mon Nov 6 11:14:16 2006
@@ -120,7 +120,8 @@
=
pa_threaded_mainloop_stop(m);
=
- pa_thread_free(m->thread);
+ if (m->thread)
+ pa_thread_free(m->thread);
=
pa_mainloop_free(m->real_mainloop);
=
More information about the pulseaudio-commits
mailing list