[Bug 787711] New: Gstomx264enc : Fix Memory leak in error case

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 15 09:04:20 UTC 2017


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

            Bug ID: 787711
           Summary: Gstomx264enc : Fix Memory leak in error case
    Classification: Platform
           Product: GStreamer
           Version: 1.12.1
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-omx
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: p.srinivas at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,

 It is observed that there is memory leak in omxmodule.

File Name : omx/Gstomx264enc.c

Function Name : gst_omx_h264_enc_get_caps

In Gstomx264enc.c at gst_omx_h264_enc_get_caps line : 441

memory is allocated for caps ,But in case of fail it has not been unref.

Sol :  gst_caps_unref (caps);

Please 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