Skip to content

[3.15] gh-150042: queue.SimpleQueue.put: fix minor refleak. (GH-150043)#150127

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-79088e0-3.15
Open

[3.15] gh-150042: queue.SimpleQueue.put: fix minor refleak. (GH-150043)#150127
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-79088e0-3.15

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 19, 2026

If queue.SimpleQueue.put can't handoff the item to a
waiting thread, and fails to allocate memory when adding
the item to a ringbuf, it would leak a reference. Fixed.
(cherry picked from commit 79088e0)

Co-authored-by: larryhastings larry@hastings.org

…150043)

If queue.SimpleQueue.put can't handoff the item to a
waiting thread, and fails to allocate memory when adding
the item to a ringbuf, it would leak a reference.  Fixed.
(cherry picked from commit 79088e0)

Co-authored-by: larryhastings <larry@hastings.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants