dem memory leaks

--HG--
branch : HTML-HTML5-Parser
fixed enormous memory leaks

--HG--
branch : HTML-HTML5-Parser