[Bug 787885] New: pngenc: fix memory leak

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 19 11:24:34 UTC 2017


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

            Bug ID: 787885
           Summary: pngenc: fix memory leak
    Classification: Platform
           Product: GStreamer
           Version: 1.13.x
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: p.srinivas at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 360038
  --> https://bugzilla.gnome.org/attachment.cgi?id=360038&action=edit
attached the path

Hi , 
 In gst_pngenc_handle_frame() find the memory leak .

 code:
 row_pointers = g_new (png_byte *, GST_VIDEO_INFO_HEIGHT (info));
  if (!gst_video_frame_map (&vframe, &pngenc->input_state->info,
          frame->input_buffer, GST_MAP_READ)) {
    GST_ELEMENT_ERROR (pngenc, STREAM, FORMAT, (NULL),
        ("Failed to map video frame, caps problem?"));
    ret = GST_FLOW_ERROR;
    goto done;
  }

  sol:  g_free (row_pointers);

 attached the path. Please review and share the 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