mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
media-factory: unref clock in finalize
https://bugzilla.gnome.org/show_bug.cgi?id=796724
This commit is contained in:
parent
1cd6c0340e
commit
f304096994
1 changed files with 2 additions and 0 deletions
|
@ -277,6 +277,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);
|
||||
|
|
Loading…
Reference in a new issue