[Python-checkins] python/dist/src/Objects fileobject.c, 2.179.8.2, 2.179.8.3

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Tue Sep 16 01:29:52 EDT 2003


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

Modified Files:
      Tag: release23-maint
	fileobject.c 
Log Message:
Backport Neal's fix for bug #789402 -- a memory leak in fileobject.c



Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.179.8.2
retrieving revision 2.179.8.3
diff -C2 -d -r2.179.8.2 -r2.179.8.3
*** fileobject.c	7 Sep 2003 20:43:24 -0000	2.179.8.2
--- fileobject.c	16 Sep 2003 05:29:50 -0000	2.179.8.3
***************
*** 100,103 ****
--- 100,104 ----
  						      EISDIR, msg);
  		PyErr_SetObject(PyExc_IOError, exc);
+ 		Py_XDECREF(exc);
  		return NULL;
  	}





More information about the Python-checkins mailing list