Repository navigation
Commit f1966ef
gh-159739: Release tuple items if resizing fails (GH-159754)
Release the references still held by the original tuple when
reallocation fails.
Backport to 3.15 and 3.14.
(cherry picked from commit 14cd72b)
Co-authored-by: Jelle Zijlstra <jelle@openai.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent f14744f commit f1966ef
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1009 | 1014 | | |
1010 | 1015 | | |
1011 | 1016 | | |
| |||
0 commit comments