mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
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:
parent
ee966c4dd2
commit
f52343fcf8
1 changed files with 1 additions and 0 deletions
|
@ -552,6 +552,7 @@ gst_rdt_manager_finalize (GObject * object)
|
||||||
|
|
||||||
g_slist_foreach (rdtmanager->sessions, (GFunc) free_session, NULL);
|
g_slist_foreach (rdtmanager->sessions, (GFunc) free_session, NULL);
|
||||||
g_slist_free (rdtmanager->sessions);
|
g_slist_free (rdtmanager->sessions);
|
||||||
|
g_clear_object (&rdtmanager->provided_clock);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue