From 45bd1c19cfba3fb891200decdb3b97555bcb193e Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Tue, 13 Nov 2012 21:13:00 +0100 Subject: [PATCH] inputselector: fix clock leak in wait_running_time https://bugzilla.gnome.org/show_bug.cgi?id=688477 --- plugins/elements/gstinputselector.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index 44684ea485..553f464cbb 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -686,6 +686,8 @@ gst_input_selector_wait_running_time (GstInputSelector * sel, cur_running_time -= base_time; else cur_running_time = 0; + + gst_object_unref (clock); } } else { GstSegment *active_seg;