Bug 510648 - Delete attribute holder upon emitting an end tag token in the HTML5 parser. rs=sicking.

This commit is contained in:
Henri Sivonen
2009-12-10 16:27:48 -08:00
parent 0f87ffbad4
commit fe7221b8ed

View File

@@ -375,6 +375,7 @@ nsHtml5Tokenizer::emitCurrentTagToken(PRBool selfClosing, PRInt32 pos)
if (endTag) {
tokenHandler->endTag(tagName);
delete attributes;
} else {
tokenHandler->startTag(tagName, attrs, selfClosing);
}