diff options
Diffstat (limited to 'Objects/descrobject.c')
-rw-r--r-- | Objects/descrobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c index ea47181..0926817 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1204,6 +1204,7 @@ property_copy(PyObject *old, PyObject *get, PyObject *set, PyObject *del, } new = PyObject_CallFunction(type, "OOOO", get, set, del, doc); + Py_DECREF(type); if (new == NULL) return NULL; pnew = (propertyobject *)new; |