[Bug 755277] New: Memory leaks in rtptheoradepay

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Sep 19 16:28:08 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755277

            Bug ID: 755277
           Summary: Memory leaks in rtptheoradepay
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sebras at hotmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

rtptheoradepay has a few memory leaks that are easy to spot once
tests/examples/rtp/*rtpaux.c are tweaked to handle EOS and are run in valgrind.

When locating these memory leaks I noticed that theora and vorbis are
implemented almost identically in rtppay/-depay so I started comparing them.
The same memory leaks have already been addressed in 2009 in commit
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=06efeff5d979576a252e5dae57f46d6445b1df12

The attached patch series depend on the patch from
https://bugzilla.gnome.org/show_bug.cgi?id=755265 and compiles, the unit tests
look no worse than before and valgrind no longer complains about leaks when
running the tweaked examples-code.

-- 
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 mailing list