Commit f239c6d5 authored by Fred Drake's avatar Fred Drake

Repair mis-application of Jeremy's patch. Thanks, Neal!

parent 01a4312a
...@@ -989,7 +989,7 @@ xmlparse_ParseFile(xmlparseobject *self, PyObject *args) ...@@ -989,7 +989,7 @@ xmlparse_ParseFile(xmlparseobject *self, PyObject *args)
int bytes_read; int bytes_read;
void *buf = XML_GetBuffer(self->itself, BUF_SIZE); void *buf = XML_GetBuffer(self->itself, BUF_SIZE);
if (buf == NULL) { if (buf == NULL) {
Py_DECREF(readmethod); Py_XDECREF(readmethod);
return PyErr_NoMemory(); return PyErr_NoMemory();
} }
......
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