Skip to content

gh-102251: Fix reference leak in _testsinglephase initialization - #105082

Merged
erlend-aasland merged 2 commits into
python:mainfrom
sunmy2019:gh-102251-1
May 30, 2023
Merged

erlend-aasland merged 2 commits into
python:mainfrom
sunmy2019:gh-102251-1

Conversation

@sunmy2019

@sunmy2019 sunmy2019 commented May 30, 2023 •

Copy link
Copy Markdown
Member
Comment thread Modules/_testsinglephase.c Resolved
@erlend-aasland erlend-aasland self-assigned this May 30, 2023
@erlend-aasland erlend-aasland added the needs backport to 3.12 only security fixes label May 30, 2023
@erlend-aasland
erlend-aasland enabled auto-merge (squash) May 30, 2023 09:05
@erlend-aasland erlend-aasland changed the title gh-102251: add missing decref in testsinglephase May 30, 2023
@erlend-aasland

Copy link
Copy Markdown
Contributor

Thanks

@erlend-aasland
erlend-aasland merged commit d14eb34 into python:main May 30, 2023
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @sunmy2019 for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-bot

Copy link
Copy Markdown

GH-105083 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label May 30, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 30, 2023
pythonGH-105082)

Correctly decref 'initialized' in init_module()

(cherry picked from commit d14eb34)

Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@sunmy2019
sunmy2019 deleted the gh-102251-1 branch May 30, 2023 09:36
erlend-aasland added a commit that referenced this pull request May 30, 2023
…on (GH-105082) (#105083)

Correctly decref 'initialized' in init_module()

(cherry picked from commit d14eb34)

Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants