commit | 59a65facf2f12c34c3e37b6aa5db8df6c0ec4329 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Dec 31 23:48:47 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Dec 31 23:48:47 2007 +0000 |
tree | b653e51ee9d019de2ca739a5542d0a0bff602e89 | |
parent | 44ac35519be2249ae1f76d32c98410cdbb2ff5e5 [diff] [blame] |
Fix refleak
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 @@ } new = PyObject_CallFunction(type, "OOOO", get, set, del, doc); + Py_DECREF(type); if (new == NULL) return NULL; pnew = (propertyobject *)new;