Skip to content

Commit d8e8cbc

Browse files
committed
Revert "fFx refleak in isinstance error path (GH-31005)"
This reverts commit 8fb3649.
1 parent 6ad9f7b commit d8e8cbc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/ceval.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4826,7 +4826,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, InterpreterFrame *frame, int thr
48264826

48274827
int retval = PyObject_IsInstance(SECOND(), TOP());
48284828
if (retval < 0) {
4829-
Py_DECREF(cls);
48304829
goto error;
48314830
}
48324831
PyObject *res = PyBool_FromLong(retval);

0 commit comments

Comments
 (0)