projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680c97a
)
rtpg729pay: Don't leak incoming buffers after subbuffering them
author
Olivier Crête
<olivier.crete@collabora.co.uk>
Wed, 16 Sep 2009 18:16:27 +0000
(14:16 -0400)
committer
Olivier Crête
<olivier.crete@collabora.co.uk>
Thu, 1 Oct 2009 00:36:05 +0000
(20:36 -0400)
gst/rtp/gstrtpg729pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpg729pay.c
b/gst/rtp/gstrtpg729pay.c
index
003988e
..
733379c
100644
(file)
--- a/
gst/rtp/gstrtpg729pay.c
+++ b/
gst/rtp/gstrtpg729pay.c
@@
-275,9
+275,8
@@
gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
buf2 = gst_buffer_create_sub (buf,
GST_BUFFER_SIZE (buf) - available, available);
gst_adapter_push (adapter, buf2);
- } else {
- gst_buffer_unref (buf);
}
+ gst_buffer_unref (buf);
}
if (adapter) {