gh-104698: Fix reference leak in mmapmodule.c#104700
Merged
pablogsal merged 5 commits intopython:mainfrom May 21, 2023
Merged
Conversation
Closed
Member
Author
sunmy2019
reviewed
May 20, 2023
|
🤖 New build scheduled with the buildbot fleet by @JelleZijlstra for commit a4341c7 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
Member
JelleZijlstra
left a comment
There was a problem hiding this comment.
Looks good, thanks! Two small suggestions.
pablogsal
approved these changes
May 21, 2023
Member
|
Mergin to fix the refleak buildbots and reduce the noise in main. Thanks for the PR @Eclips4 ! |
Contributor
|
Thanks @Eclips4 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
GH-104710 is a backport of this pull request to the 3.11 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
May 21, 2023
(cherry picked from commit 99b6418) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra
added a commit
that referenced
this pull request
May 21, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since macro
CHECK_VALIDneed to redesigned to solve this error, I decided to write new macroCHECK_VALID_AND_RELEASE, which behave the same asCHECK_VALID, but also release a buffer.