From 19178a413c7b7cc46899e34fb72746af4b7d9560 Mon Sep 17 00:00:00 2001 From: Jonas Holmberg Date: Thu, 5 Sep 2013 08:53:55 +0200 Subject: auth, media, media-factory: unref permissions https://bugzilla.gnome.org/show_bug.cgi?id=707638 --- gst/rtsp-server/rtsp-media-factory.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/rtsp-server/rtsp-media-factory.c') diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c index 8216f5d..59b1b02 100644 --- a/gst/rtsp-server/rtsp-media-factory.c +++ b/gst/rtsp-server/rtsp-media-factory.c @@ -210,6 +210,8 @@ gst_rtsp_media_factory_finalize (GObject * obj) GstRTSPMediaFactory *factory = GST_RTSP_MEDIA_FACTORY (obj); GstRTSPMediaFactoryPrivate *priv = factory->priv; + if (priv->permissions) + gst_rtsp_permissions_unref (priv->permissions); g_hash_table_unref (priv->medias); g_mutex_clear (&priv->medias_lock); g_free (priv->launch); -- cgit v1.2.3