From 023b171037c13677b856b589566038649c9b30ee Mon Sep 17 00:00:00 2001 From: Dino Viehland Date: Sun, 15 Sep 2019 07:03:33 -0700 Subject: [PATCH] Fix missing dec ref --- Modules/_randommodule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 8b0a0244bfadbf..1ea2bf28abccad 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; }