[gstreamer-bugs] [Bug 635067] New: [*decodebin*] pad template leaked
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Nov 17 04:19:21 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=635067
GStreamer | gst-plugins-base | git
Summary: [*decodebin*] pad template leaked
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: harri.mahonen at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=174675)
View: https://bugzilla.gnome.org/attachment.cgi?id=174675
Review: https://bugzilla.gnome.org/review?bug=635067&attachment=174675
Unref the pad templates given for ghostpads
There is a memory leak with setting pad-templates for ghostpads introduced by
commit 2a00fefd2adaf4c1c87a5f368b9252ef016f9e26.
gst_static_pad_template_get() is used to get a GstPadTemplate out of static pad
template. This is then given to gst_ghost_pad_new_from_template (or when
creating a new decode pad), which does a ref, but does not take ownership.
Attached is a patch that unrefs the pad template after it's used.
--
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