GNOME Bugzilla – Bug 608699
[oggdemux] memory leak while demuxing
Last modified: 2010-02-02 09:33:01 UTC
Created attachment 152741 [details] Valgrind log with oggdemux leak. Running a sample chain, I noticed some memory was leaked. The test chain used to produce the report was: gst-launch filesrc location=/usr/share/sounds/gnome/default/alerts/sonar.ogg ! oggdemux ! fakesink Attached you will find valgrind log.
Yes, there are some cases when the buffer can leak. I'll work on that later
Created attachment 152816 [details] [review] oggdemux: Don't leak allocated buffers when combined flow return is not OK Fixes bug #608699.
Tim, could we get this into 0.10.26? The patch is quite trivial ;)
Actually this also happens if the packet is a BOS and we're not pushing headers (line 648)
commit 39f97aa7288b416a65a600af58fee8c1cbc6b9c4 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue Feb 2 10:18:05 2010 +0100 oggdemux: Don't leak allocated buffers This can happen if the combined flow return is not OK although the allocation succeeded or if the packet in question is a BOS and we're not going to push headers. Fixes bug #608699.