diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2016-05-17 16:00:29 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-05-20 12:01:19 +0100 |
commit | f52343fcf85d3d700e78210ff6ee07de1ea42da1 (patch) | |
tree | 49eabcdeac98dbc8b78232dc2838257e9d0e5229 /gst | |
parent | ee966c4dd298c9bd4c81678d5aa7e6ea9f93aee3 (diff) | |
download | gstreamer-plugins-ugly-f52343fcf85d3d700e78210ff6ee07de1ea42da1.tar.gz |
rdtmanager: fix clock leak
The clock returned by gst_system_clock_obtain() was never unreffed.
https://bugzilla.gnome.org/show_bug.cgi?id=766565
Diffstat (limited to 'gst')
-rw-r--r-- | gst/realmedia/rdtmanager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/realmedia/rdtmanager.c b/gst/realmedia/rdtmanager.c index 6c763d37..48bc5ef4 100644 --- a/gst/realmedia/rdtmanager.c +++ b/gst/realmedia/rdtmanager.c @@ -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); } |