1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +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

@ -1,3 +1,7 @@
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

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