mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Repair mis-application of Jeremy's patch. Thanks, Neal!
This commit is contained in:
parent
01a4312a77
commit
f239c6d537
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue