[Bug 734534] New: vtenc: Avoid leaking caps object and its copy
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Aug 9 04:58:11 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=734534
GStreamer | gst-plugins-bad | git
Summary: vtenc: Avoid leaking caps object and its copy
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: sebras at hotmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
gst_pad_get_pad_template_caps() returns a reference which is unreferenced, so
creating a copy using gst_caps_copy() results in a reference leak. Also the
caps are pushed as an event downstream, but this doesn't consume the caps so it
must still be unreferenced. The attached patch aims to fix this issue.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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