commit | 09dc2c672f937cbe53300cb680fca1f9c78ff976 | [log] [tgz] |
---|---|---|
author | Dino Viehland <dinoviehland@gmail.com> | Sun Sep 15 15:51:44 2019 +0100 |
committer | GitHub <noreply@github.com> | Sun Sep 15 15:51:44 2019 +0100 |
tree | 738ba25d0ea7f03dbbe06e767d5d1938ef480d77 | |
parent | 8b31a11a698cb5aa9b439b349c8de4e388846f73 [diff] [blame] |
Fix missing dec ref (#16158)
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 @@ _random_clear(PyObject *module) { Py_CLEAR(_randomstate(module)->Random_Type); + Py_CLEAR(_randomstate(module)->Long___abs__); return 0; }