summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-05-16 16:18:37 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-05-17 09:59:08 +0300
commita6c4763b422d120a006a31f7de356f379cbeaa04 (patch)
treec6687082eec7681af6488a61f68ebe366c3f210b
parent21e281feea04e9586ebee2c740d1540ce525af00 (diff)
rtpdec: fix clock leak
gst_system_clock_obtain() returns a new ref. https://bugzilla.gnome.org/show_bug.cgi?id=766521
-rw-r--r--gst/rtsp/gstrtpdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtpdec.c b/gst/rtsp/gstrtpdec.c
index 5813dbe67..3cf7c7913 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);