From: Christian Heimes Date: Fri, 26 Jul 2013 13:26:18 +0000 (+0200) Subject: remove surplus and wrong Py_DECREF() introduced in 33891989c9cf X-Git-Tag: v3.4.0a1~77^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec2309b03d044a80bdaab4b5b3557fdf82177122;p=thirdparty%2FPython%2Fcpython.git remove surplus and wrong Py_DECREF() introduced in 33891989c9cf --- diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 4fd2d9fe1f2c..c3563fb5d29e 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) {