summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_testcapimodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 2e68a66..7c28538 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -504,6 +504,7 @@ test_s_code(PyObject *self)
if (PyArg_ParseTuple(tuple, "z:test_s_code2", &value) < 0)
return NULL;
+ Py_DECREF(tuple);
Py_RETURN_NONE;
}