Skip to content

gh-145376: Fix refleaks and double decref for code in Python/#145666

Open
eendebakpt wants to merge 3 commits intopython:mainfrom
eendebakpt:misc_errors
Open

gh-145376: Fix refleaks and double decref for code in Python/#145666
eendebakpt wants to merge 3 commits intopython:mainfrom
eendebakpt:misc_errors

Conversation

@eendebakpt
Copy link
Contributor

@eendebakpt eendebakpt commented Mar 9, 2026

Comment on lines 2502 to 2503
Py_DECREF(path);
return NULL;
Copy link
Member

Choose a reason for hiding this comment

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

You may reuse goto error; here.

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