[Python-checkins] commit of r41555 - python/trunk/Objects

walter.doerwald@python.org walter.doerwald at python.org
Mon Nov 28 23:16:02 CET 2005


Author: walter.doerwald
Date: Mon Nov 28 23:15:56 2005
New Revision: 41555

Modified:
   python/trunk/Objects/unicodeobject.c
Log:
Fix leaked reference to None.


Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c	(original)
+++ python/trunk/Objects/unicodeobject.c	Mon Nov 28 23:15:56 2005
@@ -2928,6 +2928,7 @@
 		    Py_DECREF(x);
 		    goto onError;
 		}
+		Py_DECREF(x);
 		continue;
 	    }
 	    else if (PyUnicode_Check(x)) {


More information about the Python-checkins mailing list