From: Carlos Rafael Giani Date: Mon, 16 Jul 2018 19:57:08 +0000 (+0200) Subject: rtsp-media: unref clock (if set) when finalizing X-Git-Tag: 1.19.3~495^2~251 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12c2dd6e1c725b6072b8b9fc06ddda0e2057b4b5;p=platform%2Fupstream%2Fgstreamer.git rtsp-media: unref clock (if set) when finalizing https://bugzilla.gnome.org/show_bug.cgi?id=796814 --- diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 74d5280..f23b4c5 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -475,6 +475,8 @@ gst_rtsp_media_finalize (GObject * obj) g_object_unref (priv->pool); if (priv->payloads) g_list_free (priv->payloads); + if (priv->clock) + gst_object_unref (priv->clock); g_free (priv->multicast_iface); g_mutex_clear (&priv->lock); g_cond_clear (&priv->cond);