[Python-checkins] python/dist/src/Modules pyexpat.c,2.82,2.83

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Mon, 21 Jul 2003 10:22:45 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv25251

Modified Files:
	pyexpat.c 
Log Message:
Repair mis-application of Jeremy's patch.  Thanks, Neal!


Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.82
retrieving revision 2.83
diff -C2 -d -r2.82 -r2.83
*** pyexpat.c	21 Jul 2003 17:05:56 -0000	2.82
--- pyexpat.c	21 Jul 2003 17:22:43 -0000	2.83
***************
*** 990,994 ****
          void *buf = XML_GetBuffer(self->itself, BUF_SIZE);
          if (buf == NULL) {
!             Py_DECREF(readmethod);
              return PyErr_NoMemory();
          }
--- 990,994 ----
          void *buf = XML_GetBuffer(self->itself, BUF_SIZE);
          if (buf == NULL) {
!             Py_XDECREF(readmethod);
              return PyErr_NoMemory();
          }