mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
sctpassociation: Add missing return to prevent double unlock
This commit is contained in:
parent
e6c6b5ea29
commit
af32ca45fa
1 changed files with 1 additions and 0 deletions
|
@ -384,6 +384,7 @@ error:
|
||||||
g_rec_mutex_unlock (&self->association_mutex);
|
g_rec_mutex_unlock (&self->association_mutex);
|
||||||
gst_sctp_association_change_state (self, GST_SCTP_ASSOCIATION_STATE_ERROR,
|
gst_sctp_association_change_state (self, GST_SCTP_ASSOCIATION_STATE_ERROR,
|
||||||
TRUE);
|
TRUE);
|
||||||
|
return FALSE;
|
||||||
configure_required:
|
configure_required:
|
||||||
g_rec_mutex_unlock (&self->association_mutex);
|
g_rec_mutex_unlock (&self->association_mutex);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue