Commit f2531afe authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fixed bug #168504 Daniel

* python/libxml.c: fixed bug #168504
Daniel
parent c284c64f
Thu Mar 31 13:06:02 CEST 2005 Daniel Veillard <daniel@veillard.com>
* python/libxml.c: fixed bug #168504
Thu Mar 31 12:22:54 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
* config.h.in configure.in nanoftp.c nanohttp.c xmllint.c
......
......@@ -1378,7 +1378,7 @@ libxml_xmlSAXParseFile(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
SAX = &pythonSaxHandler;
Py_INCREF(pyobj_SAX);
/* The reference is released in pythonEndDocument() */
xmlSAXParseFileWithData(SAX, URI, recover, pyobj_SAX);
xmlSAXUserParseFile(SAX, pyobj_SAX, URI);
Py_INCREF(Py_None);
return (Py_None);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment