diff options
author | Fred Drake <fdrake@acm.org> | 2003-07-21 17:22:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-07-21 17:22:43 (GMT) |
commit | f239c6d5378d2ada6ec7be1e76ce8564796577cc (patch) | |
tree | 5492eaf93de1c20a20664af16568d2d48a0854cf /Modules | |
parent | 01a4312a774fc8091e369f040fb081ced5faa6b5 (diff) | |
download | cpython-f239c6d5378d2ada6ec7be1e76ce8564796577cc.zip cpython-f239c6d5378d2ada6ec7be1e76ce8564796577cc.tar.gz cpython-f239c6d5378d2ada6ec7be1e76ce8564796577cc.tar.bz2 |
Repair mis-application of Jeremy's patch. Thanks, Neal!
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/pyexpat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 5c3cf25..6c40893 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(); } |