mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -357,6 +357,7 @@ gst_rtp_dec_finalize (GObject * object)
|
||||||
|
|
||||||
rtpdec = GST_RTP_DEC (object);
|
rtpdec = GST_RTP_DEC (object);
|
||||||
|
|
||||||
|
gst_object_unref (rtpdec->provided_clock);
|
||||||
g_slist_foreach (rtpdec->sessions, (GFunc) free_session, NULL);
|
g_slist_foreach (rtpdec->sessions, (GFunc) free_session, NULL);
|
||||||
g_slist_free (rtpdec->sessions);
|
g_slist_free (rtpdec->sessions);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue