[Bug 756226] New: qtdemux: fix memory leak for corrupted file

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 7 22:43:59 PDT 2015


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

            Bug ID: 756226
           Summary: qtdemux: fix memory leak for corrupted file
    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 checking a corrupted file using valgrind, there is a memory leak.

==28386== 255 (160 direct, 95 indirect) bytes in 1 blocks are definitely lost
in loss record 3,880 of 3,991
==28386==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28386==    by 0x4259BE2: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==28386==    by 0x4270281: g_slice_alloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==28386==    by 0x40A7E6B: gst_buffer_new (gstbuffer.c:714)
==28386==    by 0x40A8FB4: gst_buffer_new_allocate (gstbuffer.c:762)
==28386==    by 0x6D53894: qtdemux_parse_ftyp.part.34 (qtdemux.c:2381)
==28386==    by 0x6D70B33: gst_qtdemux_loop_state_header (qtdemux.c:3769)
==28386==    by 0x6D75090: gst_qtdemux_loop (qtdemux.c:5254)
==28386==    by 0x4118888: gst_task_func (gsttask.c:331)
==28386==    by 0x4119A2E: default_func (gsttaskpool.c:68)
==28386==    by 0x427B404: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==28386==    by 0x427A9A9: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==28386==    by 0x431FF6F: start_thread (pthread_create.c:312)
==28386==    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