Panic Memory leaks

Skip Montanaro skip at pobox.com
Mon Jan 6 12:45:05 EST 2003


    >> I used Python/C API for developing an extension.  I properly made
    >> memory management through python memory allocation and deallocation
    >> functions such as PY_DECREF.  I properly initialized python by
    >> PY_initialize and finally deinitialized through py_finalize. But
    >> still I am not able to get rid of memory leaks.

I suspect that although you think you did everything properly, you still
have some reference counting errors in your code.  If you can post your
code, please do so.  People here will probably be able to spot any mistakes.

-- 
Skip Montanaro - skip at pobox.com
http://www.musi-cal.com/
http://www.mojam.com/





More information about the Python-list mailing list