From a6c4763b422d120a006a31f7de356f379cbeaa04 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 16 May 2016 16:18:37 +0200 Subject: [PATCH] rtpdec: fix clock leak gst_system_clock_obtain() returns a new ref. https://bugzilla.gnome.org/show_bug.cgi?id=766521 --- gst/rtsp/gstrtpdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp/gstrtpdec.c b/gst/rtsp/gstrtpdec.c index 5813dbe67e..3cf7c79134 100644 --- a/gst/rtsp/gstrtpdec.c +++ b/gst/rtsp/gstrtpdec.c @@ -357,6 +357,7 @@ gst_rtp_dec_finalize (GObject * object) rtpdec = GST_RTP_DEC (object); + gst_object_unref (rtpdec->provided_clock); g_slist_foreach (rtpdec->sessions, (GFunc) free_session, NULL); g_slist_free (rtpdec->sessions);