Skip to content

Commit ada2b00

Browse files
pablogsalambv
authored andcommitted
Revert "fFx refleak in isinstance error path (GH-31005)"
This reverts commit 8fb3649.
1 parent 286bc37 commit ada2b00

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/ceval.c

-1
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)