summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-05 02:16:08 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-05 02:16:08 (GMT)
commitfbbd57e4ca4250e27b564d989a75caa0b1a4a9b5 (patch)
tree7e18c422e7879dc136a85dbc5db37727c785ab08 /Objects/floatobject.c
parent971a7aaeac7b9c817ca68f11701b97bbd9aa54ab (diff)
downloadcpython-fbbd57e4ca4250e27b564d989a75caa0b1a4a9b5.zip
cpython-fbbd57e4ca4250e27b564d989a75caa0b1a4a9b5.tar.gz
cpython-fbbd57e4ca4250e27b564d989a75caa0b1a4a9b5.tar.bz2
Added _Fini() routines to free up some memory
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 7f7f507..6f5b625 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -590,3 +590,9 @@ PyTypeObject PyFloat_Type = {
0, /*tp_as_mapping*/
(hashfunc)float_hash, /*tp_hash*/
};
+
+void
+PyFloat_Fini()
+{
+ /* XXX Alas, the free list is not easily and safely freeable */
+}