Avoid deleting the empty attribute holder in the isindex case. rs=sicking.

This commit is contained in:
Henri Sivonen
2009-12-21 13:38:58 +02:00
parent 4b8110d400
commit 8e89caf37e

View File

@@ -1156,8 +1156,6 @@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName* elementName, nsHtml5HtmlAttribu
appendVoidElementToCurrentMayFoster(kNameSpaceID_XHTML, nsHtml5ElementName::ELT_HR, nsHtml5HtmlAttributes::EMPTY_ATTRIBUTES);
pop();
selfClosing = PR_FALSE;
delete attributes;
attributes = nsnull;
goto starttagloop_end;
}
case NS_HTML5TREE_BUILDER_TEXTAREA: {