See patrick's leak root test. This is a real obvious one, I think. At http://lxr.mozilla.org/mozilla/source/layout/html/document/src/nsHTMLContentSink.cpp#4560 you create an HMTL element with a bare pointer (luddite!), and then drop it on the floor about ten lines later. Use a nsCOMPtr!
Well, never mind. I was wrong. This code doesn't leak here (it still leaks!) but it's not in the method I thought it was. And you're still a luddite ;-).
This code was written before nsCOMPtrs were even a twinkle in anyone's eye, sonny boy. MLK, so I'll put it high on the priority list.
Re-assigning bug to jst as per our decision in yesterday's bug triage meeting.
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
updated qa contact.
Is this still an issue? It's not clear what this leak root test did, and I've not seen script elements leaking in leak logs....
Going out on a limb an marking worksforme. As existing this bug isn't really useful...