-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
bpo-46476: Fix memory leak in code objects generated by deepfreeze #30853
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
418759d
free co_quickened at exit
kumaraditya303 0ae535e
clear more
kumaraditya303 1f86641
add guard
kumaraditya303 4213d7e
add a dummy finalizer
kumaraditya303 ac0b05e
check if weakrefs are null
kumaraditya303 105d20b
finalized
kumaraditya303 41887ce
📜🤖 Added by blurb_it.
blurb-it[bot] 16e1c15
fix style
kumaraditya303 a5e3c55
fix style
kumaraditya303 d8cc4bd
add blank line
kumaraditya303 f5a2df0
take ptr
kumaraditya303 985b2fe
move deallocator down
kumaraditya303 c27d31c
set weakreflist to NULL
kumaraditya303 1a878cc
add a new line in function decl
kumaraditya303 7f73917
add tiran's comments
kumaraditya303 48fad74
ditto
kumaraditya303 49d1af3
remove trailing whitespace
kumaraditya303 1518f23
new idea
kumaraditya303 5311948
fix it for embedding
kumaraditya303 2febbe0
address review
kumaraditya303 e4a7e97
whitespace
kumaraditya303 cfe8a56
whitespace in pylifecycle.c
kumaraditya303 b414b8a
move to Objects/codeobject.c
kumaraditya303 133a46f
newline
kumaraditya303 1893b35
fix style
kumaraditya303 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core and Builtins/2022-01-24-15-39-34.bpo-46476.cvP1Mr.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix memory leak in code objects generated by deepfreeze. Patch by Kumar Aditya. |
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.