diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-12-31 23:48:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-12-31 23:48:47 (GMT) |
commit | 59a65facf2f12c34c3e37b6aa5db8df6c0ec4329 (patch) | |
tree | b653e51ee9d019de2ca739a5542d0a0bff602e89 | |
parent | 44ac35519be2249ae1f76d32c98410cdbb2ff5e5 (diff) | |
download | cpython-59a65facf2f12c34c3e37b6aa5db8df6c0ec4329.zip cpython-59a65facf2f12c34c3e37b6aa5db8df6c0ec4329.tar.gz cpython-59a65facf2f12c34c3e37b6aa5db8df6c0ec4329.tar.bz2 |
Fix refleak
-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 3cfdb97..4b599ec 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1237,6 +1237,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; |