summaryrefslogtreecommitdiffstats
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-12-16 10:24:27 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-12-16 10:24:27 (GMT)
commit093ce9cd8c6e4287bffac9d9519d5159d788a008 (patch)
tree2b8bba612cf0390e8a5b098d2fbf88382c909940 /Modules/gcmodule.c
parentc144a93e987600196aaf5e8ec65a5eac76af29cd (diff)
downloadcpython-093ce9cd8c6e4287bffac9d9519d5159d788a008.zip
cpython-093ce9cd8c6e4287bffac9d9519d5159d788a008.tar.gz
cpython-093ce9cd8c6e4287bffac9d9519d5159d788a008.tar.bz2
Issue #6695: Full garbage collection runs now clear the freelist of set objects.
Initial patch by Matthias Troffaes.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 154f136..1876e93 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -764,6 +764,7 @@ clear_freelists(void)
(void)PyFloat_ClearFreeList();
(void)PyList_ClearFreeList();
(void)PyDict_ClearFreeList();
+ (void)PySet_ClearFreeList();
}
static double