]> granicus.if.org Git - python/commitdiff
In _PyGC_Fini(), lose the reference that was kept to the time module
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 6 Aug 2013 18:50:48 +0000 (20:50 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 6 Aug 2013 18:50:48 +0000 (20:50 +0200)
Modules/gcmodule.c

index dac7feb44c9273dfae49af5723df558603fec657..02e0cb831ebd0172f448e9ed54f98a64b9468f15 100644 (file)
@@ -1661,6 +1661,7 @@ void
 _PyGC_Fini(void)
 {
     Py_CLEAR(callbacks);
+    Py_CLEAR(tmod);
 }
 
 /* for debugging */