commit | f239c6d5378d2ada6ec7be1e76ce8564796577cc | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Jul 21 17:22:43 2003 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Jul 21 17:22:43 2003 +0000 |
tree | 5492eaf93de1c20a20664af16568d2d48a0854cf | |
parent | 01a4312a774fc8091e369f040fb081ced5faa6b5 [diff] [blame] |
Repair mis-application of Jeremy's patch. Thanks, Neal!
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 @@ int bytes_read; void *buf = XML_GetBuffer(self->itself, BUF_SIZE); if (buf == NULL) { - Py_DECREF(readmethod); + Py_XDECREF(readmethod); return PyErr_NoMemory(); }