[pulseaudio-commits] src/pulsecore
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Fri Dec 20 02:57:27 PST 2013
src/pulsecore/thread-mq.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 8fa5bdc087890d4114f5bfea0ddaa24ce76bf4f1
Author: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
Date: Tue Dec 17 00:07:11 2013 +0100
thread-mq: Initialize thread_mainloop to NULL if not in use
Fixes a crash when unloading module-zeroconf-publish.
Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
diff --git a/src/pulsecore/thread-mq.c b/src/pulsecore/thread-mq.c
index 0759586..d34b22b 100644
--- a/src/pulsecore/thread-mq.c
+++ b/src/pulsecore/thread-mq.c
@@ -126,6 +126,8 @@ void pa_thread_mq_init(pa_thread_mq *q, pa_mainloop_api *mainloop, pa_rtpoll *rt
pa_assert(mainloop);
q->main_mainloop = mainloop;
+ q->thread_mainloop = NULL;
+
pa_assert_se(q->inq = pa_asyncmsgq_new(0));
pa_assert_se(q->outq = pa_asyncmsgq_new(0));
More information about the pulseaudio-commits
mailing list