From af32ca45fa94f635c89d21c7369634a4d9b42968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 31 Jan 2020 08:33:38 +0200 Subject: [PATCH] sctpassociation: Add missing return to prevent double unlock --- ext/sctp/sctpassociation.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/sctp/sctpassociation.c b/ext/sctp/sctpassociation.c index ce685fd539..cce95f846e 100644 --- a/ext/sctp/sctpassociation.c +++ b/ext/sctp/sctpassociation.c @@ -384,6 +384,7 @@ error: g_rec_mutex_unlock (&self->association_mutex); gst_sctp_association_change_state (self, GST_SCTP_ASSOCIATION_STATE_ERROR, TRUE); + return FALSE; configure_required: g_rec_mutex_unlock (&self->association_mutex); return FALSE;