From: Dino Viehland Date: Sun, 15 Sep 2019 14:51:44 +0000 (+0100) Subject: Fix missing dec ref (#16158) X-Git-Tag: v3.9.0a1~425 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09dc2c672f937cbe53300cb680fca1f9c78ff976;p=thirdparty%2FPython%2Fcpython.git Fix missing dec ref (#16158) --- diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 8b0a0244bfad..1ea2bf28abcc 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; }