From: Arnaud Vrac Date: Tue, 13 Nov 2012 20:13:00 +0000 (+0100) Subject: inputselector: fix clock leak in wait_running_time X-Git-Tag: 1.1.1~389 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4a91de1be914ad3acaf4e9e3220cfcf7d2b636d;p=platform%2Fupstream%2Fgstreamer.git inputselector: fix clock leak in wait_running_time https://bugzilla.gnome.org/show_bug.cgi?id=688477 --- diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index 52c3e37..7286459 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;