-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-87804: Fix the refleak in error handling of _pystatvfs_fromstructstatfs
#115335
Conversation
!buildbot refleak |
🤖 New build scheduled with the buildbot fleet by @sobolevn for commit dd821c2 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
Good catch! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It would be even better with argument name longer than 1 character :-)
Once again. !buildbot refleak |
I suggest you to give up on buildbots and just merge your PR if you can prove to yourself that your fix works as expected:
For example, run |
9c5d39b
to
5e12106
Compare
I've done manual testing. Before:
After:
No refleaks anymore 🎉 I will wait for the CI to get green and merge. Thanks everyone for their feedback! |
Thanks for the fix. |
…structstatfs` (python#115335) It was the macro expansion! Sorry!
I messed up macro expansion rules, sorry!
It was:
It is now: