sscall

UDP based voice chat
git clone git://git.2f30.org/sscall.git
Log | Files | Refs | README | LICENSE

commit 887a0f334f7ec21d2e5469385c0470565cf6cdc9
parent 39926b74068bc60ff78c565ec554037f8cba5dca
Author: sin <sin@2f30.org>
Date:   Mon Jun  4 19:00:36 +0100

sscall: Avoid deadlock, ensure we unlock pcm_buf_lock


Diffstat:
sscall.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sscall.c b/sscall.c @@ -101,6 +101,7 @@ output_pcm(void *data __attribute__ ((unused))) pthread_mutex_lock(&kill_output_pcm_lock); if (kill_output_pcm) { pthread_mutex_unlock(&kill_output_pcm_lock); + pthread_mutex_unlock(&pcm_buf_lock); break; } pthread_mutex_unlock(&kill_output_pcm_lock);