1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-18 16:08:59 +03:00

fixed bug #168504 Daniel

* python/libxml.c: fixed bug #168504
Daniel
This commit is contained in:
Daniel Veillard
2005-03-31 11:06:29 +00:00
parent c284c64ff9
commit f2531afe41
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}