diff options
| author | Savannah Ostrowski <savannahostrowski@gmail.com> | 2024-09-06 16:02:32 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-06 16:02:32 (GMT) |
| commit | eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b (patch) | |
| tree | fe6979a7f218914ab2fa5ccee7c303a7bedfe5aa /Python/executor_cases.c.h | |
| parent | d053204b73c8569ac0c8c107b997293ffe64b195 (diff) | |
| download | cpython-eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b.zip cpython-eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b.tar.gz cpython-eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b.tar.bz2 | |
[3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123759)
(cherry picked from commit 1fbc118c5d3916e920a57cda3cb6d9a0292de26e)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Diffstat (limited to 'Python/executor_cases.c.h')
| -rw-r--r-- | Python/executor_cases.c.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h index 799f3b7..df7c19a 100644 --- a/Python/executor_cases.c.h +++ b/Python/executor_cases.c.h @@ -4390,8 +4390,6 @@ if (optimized <= 0) { exit->temperature = restart_backoff_counter(exit->temperature); if (optimized < 0) { - Py_DECREF(current_executor); - tstate->previous_executor = Py_None; GOTO_UNWIND(); } GOTO_TIER_ONE(target); |
