[Python-checkins] cpython (merge 3.3 -> default): remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
christian.heimes
python-checkins at python.org
Fri Jul 26 15:26:37 CEST 2013
http://hg.python.org/cpython/rev/ad866139a059
changeset: 84837:ad866139a059
parent: 84835:f82fe2b43165
parent: 84836:e6e9e237cc6b
user: Christian Heimes <christian at cheimes.de>
date: Fri Jul 26 15:26:26 2013 +0200
summary:
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
files:
Modules/_testcapimodule.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -121,7 +121,6 @@
for (i = 0; i < count; i++) {
v = PyLong_FromLong(i);
if (v == NULL) {
- Py_DECREF(v);
return -1;
}
if (PyDict_SetItem(dict, v, v) < 0) {
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list