From f239c6d5378d2ada6ec7be1e76ce8564796577cc Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 21 Jul 2003 17:22:43 +0000 Subject: [PATCH] Repair mis-application of Jeremy's patch. Thanks, Neal! --- Modules/pyexpat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 5c3cf2594d..6c408938ff 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -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(); } -- 2.50.1