summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/classobject.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 299ea64..305c07e 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -143,6 +143,9 @@ class_dealloc(op)
Py_DECREF(op->cl_bases);
Py_DECREF(op->cl_dict);
Py_XDECREF(op->cl_name);
+ Py_XDECREF(op->cl_getattr);
+ Py_XDECREF(op->cl_setattr);
+ Py_XDECREF(op->cl_delattr);
free((ANY *)op);
}