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

This commit is contained in:
Fred Drake 2003-07-21 17:22:43 +00:00
parent 01a4312a77
commit f239c6d537
1 changed files with 1 additions and 1 deletions

View File

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