mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Neil Schemenauer: small fixes for GC
This commit is contained in:
parent
ce8e1dc395
commit
4cc6ac7b87
7 changed files with 17 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue