inputselector: fix clock leak
authorArnaud Vrac <avrac@freebox.fr>
Thu, 30 Aug 2012 18:47:57 +0000 (19:47 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 30 Aug 2012 18:47:57 +0000 (19:47 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=682997

plugins/elements/gstinputselector.c

index e71e19c..ba675fa 100644 (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;