[Python-checkins] cpython: In _PyGC_Fini(), lose the reference that was kept to the time module
antoine.pitrou
python-checkins at python.org
Tue Aug 6 20:59:03 CEST 2013
http://hg.python.org/cpython/rev/ff91c8b9c693
changeset: 85055:ff91c8b9c693
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Aug 06 20:50:48 2013 +0200
summary:
In _PyGC_Fini(), lose the reference that was kept to the time module
files:
Modules/gcmodule.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -1661,6 +1661,7 @@
_PyGC_Fini(void)
{
Py_CLEAR(callbacks);
+ Py_CLEAR(tmod);
}
/* for debugging */
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list