[Bug 756544] New: qtdemux: Fix taglist leak

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 13 17:35:31 PDT 2015


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

            Bug ID: 756544
           Summary: qtdemux: Fix taglist leak
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vineeth.tm at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

while parsing trak, in some cases instead of freeing the whole stream and it
sub items, only the stream variable is being freed resulting in memory leak.

==32496== 88 (44 direct, 44 indirect) bytes in 1 blocks are definitely lost in
loss record 3,669 of 3,913
==32496==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==32496==    by 0x4259BE2: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==32496==    by 0x4270281: g_slice_alloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==32496==    by 0x4112F55: gst_tag_list_new_internal (gsttaglist.c:682)
==32496==    by 0x7163092: qtdemux_parse_tree (qtdemux.c:8485)
==32496==    by 0x7170C08: gst_qtdemux_loop_state_header (qtdemux.c:3855)
==32496==    by 0x7175040: gst_qtdemux_loop (qtdemux.c:5255)
==32496==    by 0x4118888: gst_task_func (gsttask.c:331)
==32496==    by 0x4119A2E: default_func (gsttaskpool.c:68)
==32496==    by 0x427B404: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==32496==    by 0x427A9A9: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==32496==    by 0x431FF6F: start_thread (pthread_create.c:312)
==32496==    by 0x4421BED: clone (clone.S:129)

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