mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gstrtpsession: Don't unref pads in finalize
The gstrtpsession object is not holding any reference to them directly
This commit is contained in:
parent
13bfb645a5
commit
306ee454c6
1 changed files with 0 additions and 9 deletions
|
@ -639,15 +639,6 @@ gst_rtp_session_finalize (GObject * object)
|
||||||
|
|
||||||
rtpsession = GST_RTP_SESSION (object);
|
rtpsession = GST_RTP_SESSION (object);
|
||||||
|
|
||||||
if (rtpsession->recv_rtp_sink != NULL)
|
|
||||||
gst_object_unref (rtpsession->recv_rtp_sink);
|
|
||||||
if (rtpsession->recv_rtcp_sink != NULL)
|
|
||||||
gst_object_unref (rtpsession->recv_rtcp_sink);
|
|
||||||
if (rtpsession->send_rtp_sink != NULL)
|
|
||||||
gst_object_unref (rtpsession->send_rtp_sink);
|
|
||||||
if (rtpsession->send_rtcp_src != NULL)
|
|
||||||
gst_object_unref (rtpsession->send_rtcp_src);
|
|
||||||
|
|
||||||
g_hash_table_destroy (rtpsession->priv->ptmap);
|
g_hash_table_destroy (rtpsession->priv->ptmap);
|
||||||
g_mutex_free (rtpsession->priv->lock);
|
g_mutex_free (rtpsession->priv->lock);
|
||||||
g_object_unref (rtpsession->priv->sysclock);
|
g_object_unref (rtpsession->priv->sysclock);
|
||||||
|
|
Loading…
Reference in a new issue