diff options
author | Christian Heimes <christian@cheimes.de> | 2013-07-26 13:26:18 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-07-26 13:26:18 (GMT) |
commit | ec2309b03d044a80bdaab4b5b3557fdf82177122 (patch) | |
tree | c9451544630e7ea69bb8ca7e568e7038710f804d /Modules | |
parent | 3205e74d880a7cacd52ff032325de28acdec888d (diff) | |
download | cpython-ec2309b03d044a80bdaab4b5b3557fdf82177122.zip cpython-ec2309b03d044a80bdaab4b5b3557fdf82177122.tar.gz cpython-ec2309b03d044a80bdaab4b5b3557fdf82177122.tar.bz2 |
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testcapimodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 4fd2d9f..c3563fb 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) { |