Bug 6785

Summary: Fix for possible leak of applet, object, or embed (and plugin view)
Product: WebKit Reporter: Tim Omernick <timo>
Component: Plug-insAssignee: Tim Omernick <timo>
Status: RESOLVED FIXED    
Severity: Critical    
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Patch timo: review+

Tim Omernick
Reported 2006-01-25 00:49:52 PST
An application which uses WebKit might leak plugins if it uses -[WebScriptObject setValue:forKey:] to alter an <embed> element's style. Doing so causes HTMLObjectElementImpl to create and cache a KJS::Bindings::Instance, which it owns but never deletes. I've got a patch which fixes the problem, and a similar problem with <object> and <applet>.
Attachments
Patch (4.46 KB, patch)
2006-01-25 00:52 PST, Tim Omernick
timo: review+
Tim Omernick
Comment 1 2006-01-25 00:52:33 PST
Tim Omernick
Comment 2 2006-01-25 13:55:22 PST
Comment on attachment 5941 [details] Patch Dave Harrison reviewed this.
Darin Adler
Comment 3 2006-02-03 20:56:55 PST
Tim landed this 2006-01-24.
Note You need to log in before you can comment on or make changes to this bug.