[Bug 785388] New: Memory leak in dvdreadsrc.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 25 08:09:49 UTC 2017


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

            Bug ID: 785388
           Summary: Memory leak in dvdreadsrc.c
    Classification: Platform
           Product: GStreamer
           Version: 1.12.2
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-ugly
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sp.gupta at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 356339
  --> https://bugzilla.gnome.org/attachment.cgi?id=356339&action=edit
Patch file is attached.

Hello All,

There is memory leak in dvdreadsrc.c file

Path : gst-plugins-ugly/ext/dvdread/dvdreadsrc.c

Function: gst_dvd_read_src_goto_title
Memory leak is detected at line : 562.

t = g_strdup_printf ("subpicture-%d-stream", i);
without using g_free(t) there is another g_strdup_printf. which leads to memory
leak.


++patch is attched for possible solution.

Kindly review the patch and provide your feedback.

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