FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-42246: Fix memory leak in compiler by markshannon · Pull Request #23256 · python/cpython · GitHub

/ cpython Public

bpo-42246: Fix memory leak in compiler - #23256

Merged
markshannon merged 2 commits into
python:masterfrom
markshannon:fix-memory-leak-in-compiler
Nov 13, 2020
Merged

bpo-42246: Fix memory leak in compiler#23256
markshannon merged 2 commits into
python:masterfrom
markshannon:fix-memory-leak-in-compiler

Conversation

markshannon commented Nov 13, 2020
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

The actual memory leak fix is the change on line 2279.

It looks like assemble_init could potentially leak as well, so I've fixed that as well.

https://bugs.python.org/issue42246

Copy link
Copy Markdown
Member

I didn't look at the diff, but I confirm that this PR fix the issue that I reported:

$ ./python -m test -R 3:3 -j0 test_asyncgen test_builtin test_coroutines test_exceptions test_syntax
...
Tests result: SUCCESS

markshannon added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 13, 2020

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @markshannon for commit 55d9d2b 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 13, 2020
markshannon merged commit fd009e6 into python:master Nov 13, 2020
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
* Fix potential memory leak in assembler init.

* Fix reference leak when encountering error during compilation of function body.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL