rdtmanager: fix clock leak

The clock returned by gst_system_clock_obtain() was never unreffed.

https://bugzilla.gnome.org/show_bug.cgi?id=766565
This commit is contained in:
Guillaume Desmottes 2016-05-17 16:00:29 +03:00 committed by Tim-Philipp Müller
parent ee966c4dd2
commit f52343fcf8

View file

@ -552,6 +552,7 @@ gst_rdt_manager_finalize (GObject * object)
g_slist_foreach (rdtmanager->sessions, (GFunc) free_session, NULL);
g_slist_free (rdtmanager->sessions);
g_clear_object (&rdtmanager->provided_clock);
G_OBJECT_CLASS (parent_class)->finalize (object);
}