diff options
author | Dino Viehland <dinoviehland@gmail.com> | 2019-09-15 14:51:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 14:51:44 (GMT) |
commit | 09dc2c672f937cbe53300cb680fca1f9c78ff976 (patch) | |
tree | 738ba25d0ea7f03dbbe06e767d5d1938ef480d77 /Modules | |
parent | 8b31a11a698cb5aa9b439b349c8de4e388846f73 (diff) | |
download | cpython-09dc2c672f937cbe53300cb680fca1f9c78ff976.zip cpython-09dc2c672f937cbe53300cb680fca1f9c78ff976.tar.gz cpython-09dc2c672f937cbe53300cb680fca1f9c78ff976.tar.bz2 |
Fix missing dec ref (#16158)
Diffstat (limited to 'Modules')
-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 8b0a024..1ea2bf2 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; } |