]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10667: [core] Segfault in crypto / srtp
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 24 Oct 2017 19:01:30 +0000 (14:01 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 25 Oct 2017 17:27:51 +0000 (12:27 -0500)
src/switch_rtp.c

index 7854c246344ba31bbabca0893ef69dd3af22723d..3fb3a9a70f824a73a1926d68c6b9d7b6439e3fee 100644 (file)
@@ -3223,7 +3223,6 @@ static int do_dtls(switch_rtp_t *rtp_session, switch_dtls_t *dtls)
        int pending;
 
        if (!dtls->bytes && !ready) {
-               switch_mutex_unlock(rtp_session->ice_mutex);
                return 0;
        }