From dc86e65265dc8f29d1180cc4cf4dbcf25320a856 Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Thu, 30 Aug 2012 19:47:57 +0100 Subject: [PATCH] inputselector: fix clock leak https://bugzilla.gnome.org/show_bug.cgi?id=682997 --- plugins/elements/gstinputselector.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index e71e19c..ba675fa 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -806,6 +806,8 @@ gst_input_selector_cleanup_old_cached_buffers (GstInputSelector * sel, cur_running_time -= base_time; else cur_running_time = 0; + + gst_object_unref (clock); } } else { GstPad *active_sinkpad; -- 2.7.4