From: Antoine Pitrou Date: Tue, 6 Aug 2013 18:50:48 +0000 (+0200) Subject: In _PyGC_Fini(), lose the reference that was kept to the time module X-Git-Tag: v3.4.0a2~286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=257cf2fb83bfdc5a83707731eae157247e330732;p=thirdparty%2FPython%2Fcpython.git In _PyGC_Fini(), lose the reference that was kept to the time module --- diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index dac7feb44c92..02e0cb831ebd 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -1661,6 +1661,7 @@ void _PyGC_Fini(void) { Py_CLEAR(callbacks); + Py_CLEAR(tmod); } /* for debugging */