Skip to content

Commit ff55764

Browse files
committed
Fix missing incref.
1 parent 7d033a7 commit ff55764

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Modules/_testinternalcapi/test_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ dummy_func(
16151615
DECREF_INPUTS();
16161616
}
16171617
else {
1618-
_PyErr_SetRaisedException(tstate, exc_value);
1618+
_PyErr_SetRaisedException(tstate, Py_NewRef(exc_value));
16191619
monitor_reraise(tstate, frame, this_instr);
16201620
goto exception_unwind;
16211621
}

Python/generated_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)