mirror of
https://github.com/python/cpython.git
synced 2024-11-29 21:05:33 +08:00
Fixed refleak in _testcapi.test_s_code.
This commit is contained in:
parent
2402e93c41
commit
b645bc7b77
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user