mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Fixed refleak in _testcapi.test_s_code.
This commit is contained in:
parent
2402e93c41
commit
b645bc7b77
1 changed files with 1 additions and 0 deletions
|
@ -504,6 +504,7 @@ test_s_code(PyObject *self)
|
||||||
if (PyArg_ParseTuple(tuple, "z:test_s_code2", &value) < 0)
|
if (PyArg_ParseTuple(tuple, "z:test_s_code2", &value) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Py_DECREF(tuple);
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue