GNOME Bugzilla – Bug 326704
[ffdec] Memory leak when joining pcache
Last modified: 2006-01-17 09:26:57 UTC
In _chain function, ffdec joins pcache and inbuf gst_buffer_span and never use these buffers lates, but the original buffers are never unreferenced.
Created attachment 57207 [details] [review] Fix leak when joining cache to inbuf. This patch properly unreferences pcache and inbuf that are never used after they are spanned to a new inbuf.
Using gst_buffer_join instead of gst_buffer_span has the same effect.
Created attachment 57231 [details] [review] Fix leak when joining cache to inbuf. Thanks, this is an updated version of the patch using gst_buffer_join.
2006-01-17 Edward Hervey <edward@fluendo.com> * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain): Memleak fix. Closes #326704