[Pkg-voip-commits] [janus] 236/282: Removed extra mutex unlock in SIP plugin

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit 0cfe923843bdcf5657edf8e37fb3acf8326fbec1
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Thu Nov 30 18:10:34 2017 +0100

    Removed extra mutex unlock in SIP plugin
---
 plugins/janus_sip.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/plugins/janus_sip.c b/plugins/janus_sip.c
index 7c16bbc..8c62eab 100644
--- a/plugins/janus_sip.c
+++ b/plugins/janus_sip.c
@@ -2677,7 +2677,6 @@ static void *janus_sip_handler(void *data) {
 			goto error;
 		}
 
-		janus_mutex_unlock(&sessions_mutex);
 		/* Prepare JSON event */
 		json_t *event = json_object();
 		json_object_set_new(event, "sip", json_string("event"));
@@ -2691,7 +2690,6 @@ static void *janus_sip_handler(void *data) {
 
 error:
 		{
-			janus_mutex_unlock(&sessions_mutex);
 			/* Prepare JSON error event */
 			json_t *event = json_object();
 			json_object_set_new(event, "sip", json_string("event"));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list