diff options
author | Jonas Holmberg <jonashg@axis.com> | 2013-09-05 08:53:55 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-09-06 18:57:55 +0100 |
commit | 19178a413c7b7cc46899e34fb72746af4b7d9560 (patch) | |
tree | 2695a65cb17346490563df3b67da36fc45d7786b /gst/rtsp-server/rtsp-media-factory.c | |
parent | d3776cc80b77b84a97533f549a83236ce41d6b44 (diff) |
auth, media, media-factory: unref permissions
https://bugzilla.gnome.org/show_bug.cgi?id=707638
Diffstat (limited to 'gst/rtsp-server/rtsp-media-factory.c')
-rw-r--r-- | gst/rtsp-server/rtsp-media-factory.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |