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:
317d6e1
)
rtpg729pay: Fix adapter leak
author
Olivier Crête
<olivier.crete@collabora.co.uk>
Tue, 15 Sep 2009 21:24:24 +0000
(17:24 -0400)
committer
Olivier Crête
<olivier.crete@collabora.co.uk>
Tue, 15 Sep 2009 21:24:24 +0000
(17:24 -0400)
The adapter would be leaked if it was empty and the data could be pushed out directly.
gst/rtp/gstrtpg729pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpg729pay.c
b/gst/rtp/gstrtpg729pay.c
index
0610bcd
..
8fd0179
100644
(file)
--- a/
gst/rtp/gstrtpg729pay.c
+++ b/
gst/rtp/gstrtpg729pay.c
@@
-228,7
+228,7
@@
gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf),
GST_BUFFER_TIMESTAMP (buf));
gst_buffer_unref (buf);
-
+ g_object_unref (adapter);
return ret;
}