diff --git a/content/html/parser/src/nsHtml5StackNode.cpp b/content/html/parser/src/nsHtml5StackNode.cpp
index f07ae1842fbf..1ad0739addb1 100644
--- a/content/html/parser/src/nsHtml5StackNode.cpp
+++ b/content/html/parser/src/nsHtml5StackNode.cpp
@@ -147,9 +147,11 @@ void
nsHtml5StackNode::release()
{
refcount--;
+#if 0
if (!refcount) {
delete this;
}
+#endif
}
void