[Bug 784741] New: libswscale: Memory leak in gst_video_frame_map.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 10 10:37:26 UTC 2017


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

            Bug ID: 784741
           Summary: libswscale: Memory leak in gst_video_frame_map.
    Classification: Platform
           Product: GStreamer
           Version: 1.12.1
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-libav
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sp.gupta at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

libswscale: Memory leak in gst_video_frame_map. 

gst-libav-1.12.1/gst-libav-1.12.1/ext/libswscale

In function "gst_ffmpegscale_transform" at line: 587
gst_video_frame_map at line 596:

if  "gst_video_frame_map" failed then there is no unmap of in_frame.So I think
it will cause memory leak.


Solution:  if gst_video_frame_map is failed then there should 
gst_video_frame_unmap (&in_frame);

Please consider it.

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