New submission from Julia Lawall julia.law...@lip6.fr:
In objects/moduleobject.c, in the function PyModule_Create2, it appears that m
should be decrefed on all of the failure paths between its allocation and the
return from the function.
--
files: moduleobject.patch
keywords: patch
Meador Inge mead...@gmail.com added the comment:
This looks OK to me (I don't see a way to write a test case to cover the leak).
I will commit later today unless I hear some objections.
--
assignee: - meador.inge
nosy: +meador.inge
stage: - commit review
versions: +Python 3.3
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7140d97d36fd by Meador Inge in branch '3.2':
Issue #15394: Fix ref leaks in PyModule_Create.
http://hg.python.org/cpython/rev/7140d97d36fd
New changeset 571777bf5527 by Meador Inge in branch 'default':
Issue #15394:
Meador Inge mead...@gmail.com added the comment:
Thanks for the patch Julia!
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15394
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15394
___
___
Python-bugs-list mailing list