mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Fix missing dec ref (#16158)
This commit is contained in:
parent
8b31a11a69
commit
09dc2c672f
1 changed files with 1 additions and 0 deletions
|
@ -572,6 +572,7 @@ static int
|
||||||
_random_clear(PyObject *module)
|
_random_clear(PyObject *module)
|
||||||
{
|
{
|
||||||
Py_CLEAR(_randomstate(module)->Random_Type);
|
Py_CLEAR(_randomstate(module)->Random_Type);
|
||||||
|
Py_CLEAR(_randomstate(module)->Long___abs__);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue