diff options
author | Guido van Rossum <guido@python.org> | 2000-07-01 01:00:38 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-07-01 01:00:38 +0000 |
commit | 4cc6ac7b8797dd55cf9c93b6da7eae1d225b7dfe (patch) | |
tree | 33188a2be2a6d62e6f647f842303aa80ce9de474 /Objects/funcobject.c | |
parent | ce8e1dc39531c8bed47cef0dd9d05bd3e9c0bd66 (diff) | |
download | cpython-git-4cc6ac7b8797dd55cf9c93b6da7eae1d225b7dfe.tar.gz |
Neil Schemenauer: small fixes for GC
Diffstat (limited to 'Objects/funcobject.c')
-rw-r--r-- | Objects/funcobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/funcobject.c b/Objects/funcobject.c index 289a29f21d..b6c008906e 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c @@ -172,6 +172,7 @@ func_dealloc(op) Py_DECREF(op->func_name); Py_XDECREF(op->func_defaults); Py_XDECREF(op->func_doc); + op = (PyFunctionObject *) PyObject_AS_GC(op); PyObject_DEL(op); } |