fix #998. XML Sax push parser shouldn't leak memory