inputselector: fix clock leak

https://bugzilla.gnome.org/show_bug.cgi?id=682997
This commit is contained in:
Arnaud Vrac 2012-08-30 19:47:57 +01:00 committed by Tim-Philipp Müller
parent b292dc8401
commit dc86e65265

View file

@ -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;