rtpdec: fix clock leak
gst_system_clock_obtain() returns a new ref. https://bugzilla.gnome.org/show_bug.cgi?id=766521
This commit is contained in:
parent
21e281feea
commit
a6c4763b42
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user