[gst-devel] gstrtpdec - memory leak

Krzysztof Błaszkowski kb at sysmikro.com.pl
Thu Jun 25 13:04:08 CEST 2009

Hi folks,

Haven't i told already there is a memory leak ?

damn, what's wrong with you ?

shall the gst_rtp_dec_chain_rtcp() dereference buffer in bad_packet path or if 
there is no HAVE_RTCP ?

i do have such video server which doesn't stream audio but every couple 
seconds it sends 48 bytes to udpsrc for audio. then these are collected by 
gst_base_src_get_range() every time with new buffer.

if the gst_rtp_dec_chain_rtcp() misses gst_buffer_unref() here is the patch 
included and now it works as expected.

seems that plugins-good-10.15 miss that patch too. there may be more places 
which require buffer dereferencing but review code by yourself.

i'm going to unsubscribe from this list.

Krzysztof Blaszkowski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpdec-mem-leak.diff
Type: text/x-diff
Size: 536 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090625/23a44487/attachment.diff>

More information about the gstreamer-devel mailing list