Skip to content

gh-145376: Fix refleak in _queuemodule.c out-of-memory path#145543

Open
eendebakpt wants to merge 1 commit intopython:mainfrom
eendebakpt:refleak_queuemodule
Open

gh-145376: Fix refleak in _queuemodule.c out-of-memory path#145543
eendebakpt wants to merge 1 commit intopython:mainfrom
eendebakpt:refleak_queuemodule

Conversation

@eendebakpt
Copy link
Contributor

@eendebakpt eendebakpt commented Mar 5, 2026

@eendebakpt eendebakpt changed the title gh-145376: Fix refleak in _queuemodule.c gh-145376: Fix refleak in _queuemodule.c out-of-memory path Mar 5, 2026
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The RingBuf_Put() comment says "Steals a reference to item".

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