[issue15396] memory leak in tkinter

2012-07-19 Thread Julia Lawall
Julia Lawall added the comment: On Thu, 19 Jul 2012, Jesús Cea Avión wrote: > > Jesús Cea Avión added the comment: > > Thanks for the patch, Julia, and for submitting the contributor form. I have > added you too to the "Doc/ACKS.txt" file. > > I wonder how yo

[issue15396] memory leak in tkinter

2012-07-19 Thread Julia Lawall
New submission from Julia Lawall : In the file Modules/_tkinter.c, in the function PyInit__tkinter, m should be decrefed on the PyType_Ready error path. -- files: tkinter.patch keywords: patch messages: 165842 nosy: jll priority: normal severity: normal status: open title: memory leak

[issue15395] memory leaks in selectmodule.c

2012-07-19 Thread Julia Lawall
New submission from Julia Lawall : In Modules/selectmodule.c, in the function seq2set, fast_seq should be decrefd on failure of the initialization of o. This will make a useless call to DECREF on o, but XDECREF is already used, so it is safe in the NULL case. In the same file, in the

[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