summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--socket/udp-turn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/udp-turn.c b/socket/udp-turn.c
index d1b88d3..15b41f2 100644
--- a/socket/udp-turn.c
+++ b/socket/udp-turn.c
@@ -1227,7 +1227,7 @@ nice_udp_turn_socket_parse_recv (NiceSocket *sock, NiceSocket **from_sock,
const guint16 *u16;
} recv_buf;
- g_mutex_unlock (&mutex);
+ g_mutex_lock (&mutex);
/* In the case of a reliable UDP-TURN-OVER-TCP (which means MS-TURN)
* we must use RFC4571 framing */