From b4a91de1be914ad3acaf4e9e3220cfcf7d2b636d 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 52c3e372f2..72864594b3 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;