Skip to content

gh-145376: Fix reference leaks in _collectionsmodule.c#145421

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

gh-145376: Fix reference leaks in _collectionsmodule.c#145421
eendebakpt wants to merge 1 commit intopython:mainfrom
eendebakpt:refleak_collections

Conversation

@eendebakpt
Copy link
Contributor

@eendebakpt eendebakpt commented Mar 2, 2026

Make deque_append_lock_held and deque_appendleft_lock_held consume the second argument (the methods already consumed the second argument, but not in the error path).

Issues found using Claude.

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