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
Memleak in import.c load_source_module() #58966
Comments
In load_source_module() function from import.c, it looks like Py_DECREF is not called where it should be. Please find attached a patch that fixes the leak. This bug has been found using Coccinelle (http://coccinelle.lip6.fr/) using a semantic patch (similar to https://gist.github.com/2634899). |
Is it 2.7-only? |
@pitrou I just checked Python-2.7.3 and the tip of the mercurial repository. It's not in the latter at least. |
New changeset a775fc27f469 by Antoine Pitrou in branch '2.7': |
New changeset 9de4d85e4197 by Antoine Pitrou in branch '3.2': New changeset 840cb46d0395 by Antoine Pitrou in branch 'default': |
Fixed, thank you! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: