Reviewed by Anders.
[WebKit-https.git] / WebCore / dom / Document.cpp
index b9480075b3ce20a629214834f3b7a99da453fb13..001cfcdba0d10e583778f7e2448f829392e1d893 100644 (file)
@@ -304,6 +304,9 @@ void Document::removedLastRef()
         removeAllChildren();
 
         m_markers.clear();
+
+        delete m_tokenizer;
+        m_tokenizer = 0;
     } else
         delete this;
 }