mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ristsrc: rtxbin may be null in finalize
This commit is contained in:
parent
e914abd402
commit
4bba95ead2
1 changed files with 2 additions and 3 deletions
|
@ -1136,9 +1136,8 @@ gst_rist_src_finalize (GObject * object)
|
|||
}
|
||||
g_ptr_array_free (src->bonds, TRUE);
|
||||
|
||||
if (src->jitterbuffer)
|
||||
gst_object_unref (src->jitterbuffer);
|
||||
gst_object_unref (src->rtxbin);
|
||||
g_clear_object (&src->jitterbuffer);
|
||||
g_clear_object (&src->rtxbin);
|
||||
|
||||
g_mutex_unlock (&src->bonds_lock);
|
||||
g_mutex_clear (&src->bonds_lock);
|
||||
|
|
Loading…
Reference in a new issue