Kaydet (Commit) 59a65fac authored tarafından Neal Norwitz's avatar Neal Norwitz

Fix refleak

üst 44ac3551
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment