Repair mis-application of Jeremy's patch. Thanks, Neal!
This commit is contained in:
parent
01a4312a77
commit
f239c6d537
|
@ -989,7 +989,7 @@ xmlparse_ParseFile(xmlparseobject *self, PyObject *args)
|
|||
int bytes_read;
|
||||
void *buf = XML_GetBuffer(self->itself, BUF_SIZE);
|
||||
if (buf == NULL) {
|
||||
Py_DECREF(readmethod);
|
||||
Py_XDECREF(readmethod);
|
||||
return PyErr_NoMemory();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue