[Bug 785387] New: Possible Memory leak in acmenc.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 25 07:58:07 UTC 2017


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

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

File : gst-plugins-bad/sys/acmenc/acmenc.c

Function  acmenc_register_file:

Memory leak is possible in success case  .


Solution :  g_free (params) &  g_free (name); should be freed.

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