[Bug 784978] New: omx: Possible Memory leak in gst_caps_from_string
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Jul 15 11:31:42 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=784978
Bug ID: 784978
Summary: omx: Possible Memory leak in gst_caps_from_string
Classification: Platform
Product: GStreamer
Version: 1.12.2
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gst-omx
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: sp.gupta at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hello All,
There is possible Memory leak in gstomx.c
File : gst-omx/omx/gstmox.c
In function "_class_init" at line: 2662
here caps are allocated .
caps = gst_caps_from_string (template_caps);
In function gst_pad_template_new(...) at Line :2636 and 2662
caps must be unref after used.
below documentation also suggest :
https://sourcecodebrowser.com/gstreamer0.10/0.10.18/gst_2gstcaps_8c.html#a90f2094f46fc946b6850dd606558f81f
Solution: There must be gst_caps_unref(caps); after use of caps.
Please check 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