Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gh-154014: Free unregistered cold executors directly
  • Loading branch information
BHUVANSH855 committed Jul 20, 2026
commit 1f0ea1f2df5fad4f336f3f01b54223d6e7db571c
2 changes: 1 addition & 1 deletion Python/optimizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1809,7 +1809,7 @@ make_cold_executor(uint16_t opcode)
cold->jit_code = NULL;
cold->jit_size = 0;
if (_PyJIT_Compile(cold, cold->trace, 1)) {
Py_DECREF(cold);
PyExecutor_Free(cold);
Py_FatalError("Cannot allocate core JIT code");
}
#endif
Expand Down
Loading