From: Fred Drake Date: Mon, 21 Jul 2003 17:22:43 +0000 (+0000) Subject: Repair mis-application of Jeremy's patch. Thanks, Neal! X-Git-Tag: v2.3c2~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f239c6d5378d2ada6ec7be1e76ce8564796577cc;p=thirdparty%2FPython%2Fcpython.git Repair mis-application of Jeremy's patch. Thanks, Neal! --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 5c3cf2594dab..6c408938ffca 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(); }