[Python-checkins] commit of r41556 - python/branches/release24-maint/Objects

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


Author: walter.doerwald
Date: Mon Nov 28 23:16:22 2005
New Revision: 41556

Modified:
   python/branches/release24-maint/Objects/unicodeobject.c
Log:
Backport checkin:
Fix leaked reference to None.


Modified: python/branches/release24-maint/Objects/unicodeobject.c
==============================================================================
--- python/branches/release24-maint/Objects/unicodeobject.c	(original)
+++ python/branches/release24-maint/Objects/unicodeobject.c	Mon Nov 28 23:16:22 2005
@@ -2889,6 +2889,7 @@
 		Py_DECREF(x);
 		goto onError;
 	    }
+	    Py_DECREF(x);
 	    continue;
 	}
 	else if (PyUnicode_Check(x)) {


More information about the Python-checkins mailing list