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
9f64251ff1
commit
1a71c15677
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
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.
|
||||
|
||||
=== release 0.10.20 ===
|
||||
|
||||
2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 46ec7dfc1c09ff550ed6b7a4e0d3f2b2ac7d3ee8
|
||||
Subproject commit d9cd98b46aebaf143dc43d8563a3bff650be6a7e
|
|
@ -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