https://bugs.freedesktop.org/show_bug.cgi?id=89672

--- Comment #7 from David Henningsson <[email protected]> ---
Comment on attachment 114580
  --> https://bugs.freedesktop.org/attachment.cgi?id=114580
Fix: Prevent calling pa_rtpoll_free() for a NULL rtpoll

Review of attachment 114580:
-----------------------------------------------------------------

Sorry for the slow reply. Are you 100% certain that messages dispatched by
pa_thread_mq_done will not need the rtpoll? If not, perhaps the following is
better:

    if (u->rtpoll)
        pa_thread_mq_done(&u->thread_mq); 
    /* pa_thread_mq_done might recurse into stop_thread again, hence this extra
"if (u->rtpoll)" check */
    if (u->rpoll) {
        pa_rtpoll_free(u->rtpoll);
        u->rtpoll = NULL;
    }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to