Commit 241fbd4e authored by Brendan Shanks's avatar Brendan Shanks Committed by Tim-Philipp Müller

media-factory: unref clock in finalize
parent 91cdbaeb
......@@ -278,6 +278,8 @@ gst_rtsp_media_factory_finalize (GObject * obj)
GstRTSPMediaFactory *factory = GST_RTSP_MEDIA_FACTORY (obj);
GstRTSPMediaFactoryPrivate *priv = factory->priv;
if (priv->clock)
gst_object_unref (priv->clock);
if (priv->permissions)
gst_rtsp_permissions_unref (priv->permissions);
g_hash_table_unref (priv->medias);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment