[issue15394] memory leak in PyModule_Create2

2012-07-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15394] memory leak in PyModule_Create2

2012-07-19 Thread Meador Inge
Meador Inge added the comment: Thanks for the patch Julia! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue15394] memory leak in PyModule_Create2

2012-07-19 Thread Roundup Robot
Roundup Robot 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: Fix ref leaks in PyModule_Create

[issue15394] memory leak in PyModule_Create2

2012-07-19 Thread Meador Inge
Meador Inge 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 _

[issue15394] memory leak in PyModule_Create2

2012-07-19 Thread Julia Lawall
New submission from Julia Lawall : 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 messages: 165838 nosy: