Skip to content

Commit

Permalink
task: Fix refcount leak when assigning attribute of task object
Browse files Browse the repository at this point in the history
Regression on 1.11
  • Loading branch information
rdb committed Jan 29, 2024
1 parent 4b748d1 commit f1f15a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion panda/src/event/pythonTask.cxx
Expand Up @@ -301,7 +301,6 @@ __setattr__(PyObject *self, PyObject *attr, PyObject *v) {

PyObject *descr = _PyType_Lookup(Py_TYPE(self), attr);
if (descr != nullptr) {
Py_INCREF(descr);
descrsetfunc f = descr->ob_type->tp_descr_set;
if (f != nullptr) {
return f(descr, self, v);
Expand Down

0 comments on commit f1f15a9

Please sign in to comment.