Skip to content

gh-150042: queue.SimpleQueue.put: fix minor refleak.#150043

Open
larryhastings wants to merge 2 commits into
python:mainfrom
larryhastings:polish_simplequeue_put
Open

gh-150042: queue.SimpleQueue.put: fix minor refleak.#150043
larryhastings wants to merge 2 commits into
python:mainfrom
larryhastings:polish_simplequeue_put

Conversation

@larryhastings
Copy link
Copy Markdown
Contributor

@larryhastings larryhastings 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.

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.
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.

1 participant