Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue14761] Memleak in import.c load_source_module()
 

Index | Next | Previous | View Flat


report at bugs

May 9, 2012, 1:45 AM


Views: 54
Permalink
[issue14761] Memleak in import.c load_source_module()

New submission from Damien Cassou <damien.cassou [at] gmail>:

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 <report [at] bugs>
<http://bugs.python.org/issue14761>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Subject User Time
[issue14761] Memleak in import.c load_source_module() report at bugs May 9, 2012, 1:45 AM
    [issue14761] Memleak in import.c load_source_module() report at bugs May 9, 2012, 1:47 AM
    [issue14761] Memleak in import.c load_source_module() report at bugs May 9, 2012, 1:51 AM
    [issue14761] Memleak in import.c load_source_module() report at bugs May 9, 2012, 4:27 AM
    [issue14761] Memleak in import.c load_source_module() report at bugs May 9, 2012, 4:30 AM
    [issue14761] Memleak in import.c load_source_module() report at bugs May 9, 2012, 4:31 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.