[Bug 756068] New: qtmux: fix sample memory leak

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Oct 4 19:02:37 PDT 2015


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

            Bug ID: 756068
           Summary: qtmux: fix sample memory 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: ---

When getting sample from taglist, the memory is not being freed resulting in
memory leak.


==27959== 499 (16 direct, 483 indirect) bytes in 1 blocks are definitely lost
in loss record 6,022 of 6,113
==27959==    at 0x402C17C: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==27959==    by 0x42F2BE2: g_malloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==27959==    by 0x4309281: g_slice_alloc (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==27959==    by 0x41312C1: gst_structure_new_id_empty_with_size
(gststructure.c:145)
==27959==    by 0x41336BB: gst_structure_new_valist (gststructure.c:281)
==27959==    by 0x413371A: gst_structure_new (gststructure.c:253)
==27959==    by 0x62115E1: qtdemux_tag_add_blob (qtdemux.c:11243)
==27959==    by 0x42F62BB: g_node_children_foreach (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==27959==    by 0x62123B7: qtdemux_parse_udta (qtdemux.c:11303)
==27959==    by 0x622910E: qtdemux_parse_tree (qtdemux.c:10068)
==27959==    by 0x6232EF8: gst_qtdemux_loop_state_header (qtdemux.c:3833)
==27959==    by 0x62373A0: gst_qtdemux_loop (qtdemux.c:5233)
==27959==    by 0x413EB28: gst_task_func (gsttask.c:331)
==27959==    by 0x413FCCE: default_func (gsttaskpool.c:68)
==27959==    by 0x4314404: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==27959==    by 0x43139A9: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==27959==    by 0x43B8F6F: start_thread (pthread_create.c:312)
==27959==    by 0x44B9BED: 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