mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
gst/gdp/gstgdppay.c: Fix a buffer memleak and remove a confusing and wrong debug output.
Original commit message from CVS: Patch by: Antoine Tremblay <hexa00 at gmail dot com> * gst/gdp/gstgdppay.c: (gst_gdp_pay_reset): Fix a buffer memleak and remove a confusing and wrong debug output. Fixes bug #538663.
This commit is contained in:
parent
4822aa7c7b
commit
a0679f9e56
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue