Skip to content

Commit

Permalink
gh-101747: Fix refleak in new OrderedDict repr
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 9, 2023
1 parent cb24118 commit f8adfe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Objects/odictobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,7 @@ odict_repr(PyODictObject *self)

Done:
Py_ReprLeave((PyObject *)self);
Py_XDECREF(dcopy);
return result;
}

Expand Down

0 comments on commit f8adfe9

Please sign in to comment.