[issue1731706] tkinter memory leak problem

Guilherme Polo report at bugs.python.org
Tue Feb 3 00:40:31 CET 2009


Guilherme Polo <ggpolo at gmail.com> added the comment:

>> Besides, not calling ConditionFinalize doesn't introduce memory leaks
>
> Are you sure about this?  On Unix, TclpFinalizeCondition does
>
>        pthread_cond_destroy(pcondPtr);
>        ckfree((char *) pcondPtr);
>
> both of which release memory (IIUC). Likewise for Windows, except
> that it calls DeleteCriticalSection.
>

I think I meant something more like "it doesn't result in memory
definitely lost" because tcl will free these conditions when tcl
finishes, but it does introduce memory leak in the sense that the
memory isn't freed right after it is not longer used.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1731706>
_______________________________________


More information about the Python-bugs-list mailing list