Skip to content

Commit cae280d

Browse files
zwareebonnal
authored andcommitted
1 parent b37681a commit cae280d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/funcobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,6 +1264,7 @@ descriptor_set_wrapped_attribute(PyObject *oobj, PyObject *name, PyObject *value
12641264
PyErr_Format(PyExc_AttributeError,
12651265
"'%.200s' object has no attribute '%U'",
12661266
type_name, name);
1267+
Py_DECREF(dict);
12671268
return -1;
12681269
}
12691270
else {

0 commit comments

Comments
 (0)