New submission from Damien Cassou <damien.cas...@gmail.com>: 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). ---------- components: Interpreter Core files: fix_load_source_module_leak.patch keywords: patch messages: 160262 nosy: benjamin.peterson, cassou, lemburg, tim_one priority: normal severity: normal status: open title: Memleak in import.c load_source_module() versions: Python 2.7 Added file: http://bugs.python.org/file25507/fix_load_source_module_leak.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14761> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com