diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index c712d11072..c4b7bf9664 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -193,10 +193,11 @@ gst_gdp_pay_reset (GstGDPPay * this) GstBuffer *buffer; buffer = GST_BUFFER_CAST (this->queue->data); - GST_DEBUG_OBJECT (this, "Pushing queued GDP buffer %p", buffer); /* delete buffer from queue now */ this->queue = g_list_delete_link (this->queue, this->queue); + + gst_buffer_unref (buffer); } if (this->caps) { gst_caps_unref (this->caps);