inputselector: fix clock leak in wait_running_time

https://bugzilla.gnome.org/show_bug.cgi?id=688477
This commit is contained in:
Arnaud Vrac 2012-11-13 21:13:00 +01:00 committed by Tim-Philipp Müller
parent af3a273c08
commit b4a91de1be

View file

@ -686,6 +686,8 @@ gst_input_selector_wait_running_time (GstInputSelector * sel,
cur_running_time -= base_time; cur_running_time -= base_time;
else else
cur_running_time = 0; cur_running_time = 0;
gst_object_unref (clock);
} }
} else { } else {
GstSegment *active_seg; GstSegment *active_seg;