[Bug 775752] New: Unreferencing the query in gstmonoscope to avoid memory leak

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 7 11:59:22 UTC 2016


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

            Bug ID: 775752
           Summary: Unreferencing the query in gstmonoscope to avoid
                    memory leak
    Classification: Platform
           Product: GStreamer
           Version: 1.9.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: garima.g at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 341538
  --> https://bugzilla.gnome.org/attachment.cgi?id=341538&action=edit
Unreferencing the query in gstmonoscope

In gst/monoscope/gstmonoscope.c
Function: gst_monoscope_src_negotiate

local variable 'query' gets allocated memory at line:262 but not freed.

Added gst_query_unref (query) to avoid the memory leak.

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