Free references

Pablo Yabo pyabo at novamens.com
Tue Mar 9 07:25:11 EST 2004


Hi,
I wrote bindings to customize a GUI application.
Python is only used to to edit some stuff, it is initilized calling
Py_Initialize() and after the edition is called Py_Finalize().
The problem that I'm having is that after calling Py_Finalize the memory
allocated by Python doesn't free. In the console appears a message "[370190
refs]".
I don't know if my bindings have leaks (could be) but I want to free all the
references after the edition to minimize the impact.
Is that possible.

Thanks on advance,

Pablo Yabo






More information about the Python-list mailing list