From 931020158e7d727d00dc8dd260d1a956f80d2126 Mon Sep 17 00:00:00 2001 From: Ha Nguyen Date: Mon, 19 Sep 2011 12:15:11 +0200 Subject: [PATCH] rtpbin: Fix a leaked clock for each buffering message Fixes bug #659237. --- gst/rtpmanager/gstrtpbin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index beac56ced2..a5dcc15a05 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -2217,6 +2217,7 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message) now = gst_clock_get_time (clock); base_time = gst_element_get_base_time (GST_ELEMENT_CAST (bin)); running_time = now - base_time; + gst_object_unref (clock); } GST_DEBUG_OBJECT (bin, "running time now %" GST_TIME_FORMAT,