Fix missing dec ref (#16158)

This commit is contained in:
Dino Viehland 2019-09-15 15:51:44 +01:00 committed by GitHub
parent 8b31a11a69
commit 09dc2c672f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -572,6 +572,7 @@ static int
_random_clear(PyObject *module)
{
Py_CLEAR(_randomstate(module)->Random_Type);
Py_CLEAR(_randomstate(module)->Long___abs__);
return 0;
}