sctpassociation: Add missing return to prevent double unlock

This commit is contained in:
Sebastian Dröge 2020-01-31 08:33:38 +02:00
parent e6c6b5ea29
commit af32ca45fa

View file

@ -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;