openbsd-ports/telephony/pjsua/patches/patch-pjmedia_src_pjmedia_stream_c
fgsch 1b967e9939 Update to pjsua 2.0.
dcoppa@ ok
2012-06-05 23:15:22 +00:00

12 lines
447 B
Plaintext

$OpenBSD: patch-pjmedia_src_pjmedia_stream_c,v 1.1 2012/06/05 23:15:23 fgsch Exp $
--- pjmedia/src/pjmedia/stream.c.orig Sat May 12 08:18:09 2012
+++ pjmedia/src/pjmedia/stream.c Sun Jun 3 04:09:23 2012
@@ -2442,6 +2442,7 @@ PJ_DEF(pj_status_t) pjmedia_stream_destroy( pjmedia_st
/* Free mutex */
if (stream->jb_mutex) {
+ pj_mutex_unlock(stream->jb_mutex);
pj_mutex_destroy(stream->jb_mutex);
stream->jb_mutex = NULL;
}