summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-16 20:46:27 (GMT)
committerGuido van Rossum <guido@python.org>2007-07-16 20:46:27 (GMT)
commit307fa8cc8285d7f39550051e0ce7c8ac5504d13f (patch)
treecbcd60a6d4013867071f442c25581cfe21115575 /Objects/unicodeobject.c
parent27ae52362c4c8576987f6a78586b4f9c145100b1 (diff)
downloadcpython-307fa8cc8285d7f39550051e0ce7c8ac5504d13f.zip
cpython-307fa8cc8285d7f39550051e0ce7c8ac5504d13f.tar.gz
cpython-307fa8cc8285d7f39550051e0ce7c8ac5504d13f.tar.bz2
Three patches by Amaury Forgeot d'Arc; SF patch# 1754484.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index a60fa8b..860e38b 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -851,7 +851,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
fail:
if (callresults) {
PyObject **callresult2 = callresults;
- while (callresult2 <= callresult) {
+ while (callresult2 < callresult) {
Py_DECREF(*callresult2);
++callresult2;
}