diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index e71e19c74f..ba675faeb5 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;