From ec2309b03d044a80bdaab4b5b3557fdf82177122 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 26 Jul 2013 15:26:18 +0200 Subject: remove surplus and wrong Py_DECREF() introduced in 33891989c9cf --- Modules/_testcapimodule.c | 1 - 1 file changed, 1 deletion(-) 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) { -- cgit v0.12