diff Objects/unicodeobject.c @ 42291:3772103200ec

Three patches by Amaury Forgeot d'Arc; SF patch# 1754484.
author Guido van Rossum <guido@python.org>
date Mon, 16 Jul 2007 20:46:27 +0000
parents 18e5ae91bd29
children bd6acfdb47d2
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Mon Jul 16 19:50:03 2007 +0000
+++ b/Objects/unicodeobject.c	Mon Jul 16 20:46:27 2007 +0000
@@ -851,7 +851,7 @@
  fail:
 	if (callresults) {
 		PyObject **callresult2 = callresults;
-		while (callresult2 <= callresult) {
+		while (callresult2 < callresult) {
 			Py_DECREF(*callresult2);
 			++callresult2;
 		}