[Bug 787058] New: libpng : Fix Memory leak isse in gstpngenc.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 31 07:43:17 UTC 2017


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

            Bug ID: 787058
           Summary: libpng : Fix Memory leak isse in gstpngenc.c
    Classification: Platform
           Product: GStreamer
           Version: 1.12.2
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          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 358817
  --> https://bugzilla.gnome.org/attachment.cgi?id=358817&action=edit
Patch file is attached.

Hi, 

File : gst-plugins-good/ext/libpng/gstpngenc.c

Function  gst_pngenc_handle_frame  Line : 308

gst_pngenc_handle_frame

There is memory leak in gstpngenc.c file as memory is allocated just before
gst_video_frame_map.

Solution : g_free (row_pointers);

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