mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
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…
x
Reference in New Issue
Block a user