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>.
Created attachment 5941 [details] Patch
Comment on attachment 5941 [details] Patch Dave Harrison reviewed this.
Tim landed this 2006-01-24.