Commit a6c4763b authored by Guillaume Desmottes's avatar Guillaume Desmottes Committed by Sebastian Dröge

rtpdec: fix clock leak

gst_system_clock_obtain() returns a new ref.
parent 21e281fe
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment