[Webkit-unassigned] [Bug 74224] New: [GStreamer] webkitwebsrc: pad template is leaked
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 9 15:49:21 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74224
Summary: [GStreamer] webkitwebsrc: pad template is leaked
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: judy.liqiong-hao at nokia.com
There is a memory leak in function "webkit_web_src_init" of "WebKitWebSourceGStreamer.cpp"
with setting pad-templates for ghostpads.
gst_static_pad_template_get() is used to get a GstPadTemplate out of static pad
template. This is then passed as a parameter to gst_ghost_pad_new_from_template,
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://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list