diff options
author | Dino Viehland <dinoviehland@gmail.com> | 2019-09-15 15:51:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 15:51:44 +0100 |
commit | 09dc2c672f937cbe53300cb680fca1f9c78ff976 (patch) | |
tree | 738ba25d0ea7f03dbbe06e767d5d1938ef480d77 | |
parent | 8b31a11a698cb5aa9b439b349c8de4e388846f73 (diff) | |
download | cpython-git-09dc2c672f937cbe53300cb680fca1f9c78ff976.tar.gz |
Fix missing dec ref (#16158)
-rw-r--r-- | Modules/_randommodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 8b0a0244bf..1ea2bf28ab 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c @@ -572,6 +572,7 @@ static int _random_clear(PyObject *module) { Py_CLEAR(_randomstate(module)->Random_Type); + Py_CLEAR(_randomstate(module)->Long___abs__); return 0; } |