summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-07-26 13:26:26 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-07-26 13:26:26 (GMT)
commitdd6f3899f7c83b5a923318a5108f0227b785060a (patch)
tree4c69b66f4a5b47f724497af489fd98ace3e4e005 /Modules
parentcb7ca526e892ba966a2bc4b61a240cdd3cf9fd99 (diff)
parentec2309b03d044a80bdaab4b5b3557fdf82177122 (diff)
downloadcpython-dd6f3899f7c83b5a923318a5108f0227b785060a.zip
cpython-dd6f3899f7c83b5a923318a5108f0227b785060a.tar.gz
cpython-dd6f3899f7c83b5a923318a5108f0227b785060a.tar.bz2
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_testcapimodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 8ba8b55..8eb3a3b 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -121,7 +121,6 @@ test_dict_inner(int count)
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) {