[Python-checkins] python/dist/src/Modules _ssl.c,1.18,1.19

mwh at users.sourceforge.net mwh at users.sourceforge.net
Wed Aug 4 16:59:03 CEST 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5362

Modified Files:
	_ssl.c 
Log Message:
Add a missing decref -- PyErr_SetObject increfs the 'object'!


Index: _ssl.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_ssl.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** _ssl.c	10 Jul 2004 21:36:55 -0000	1.18
--- _ssl.c	4 Aug 2004 14:59:00 -0000	1.19
***************
*** 170,173 ****
--- 170,174 ----
  	PyTuple_SET_ITEM(v, 1, s);
  	PyErr_SetObject(PySSLErrorObject, v);
+ 	Py_DECREF(v);
  	return NULL;
  }



More information about the Python-checkins mailing list