[Bug 676647] New: Opus RTP payloader is leaking memory (patch included)
bugzilla at gnome.org
Wed May 23 08:43:16 PDT 2012
GStreamer | gst-plugins-bad | 0.10.36
Summary: Opus RTP payloader is leaking memory (patch included)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: dv at pseudoterminal.org
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=214776)
Linear increase in heap usage observed while using the payloader; patch
Using the Opus RTP payloader causes memory leaks.
The following command will show a linear increase in heap usage:
gst-launch audiotestsrc ! opusenc ! rtpopuspay ! fakesink
while this one doesn't:
gst-launch audiotestsrc ! opusenc ! fakesink
The heap increase has been confirmed both with the top command and with
The cause is a missing unref in the payloader's handle_buffer() function. The
buffer passed to it as an argument is not unreferenced.
The attached patch fixes this. It calls gst_buffer_unref(buffer); right before
the return line.
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs