[wxPython-dev] Memory leak in wxPython 2.7 (?)

Robin Dunn robin at alldunn.com
Wed Jul 19 14:22:47 PDT 2006


jmf wrote:
> I do not know if this is coming from Python 2.5b2 or wxPython 2.7 on
> w2k sp4. I tried both at the same time.
> When testing the msg box of one of my app, which is supposed to
> display infos about system, Python version, memory and so on, I
> got a strange displayed message and a message in my dos window
> saying:
> 
> swig/python detected a memory leak of type 'wxMemorySize *', no 
> destructor found

Thanks.  This is happening because SWIG doesn't know what the 
wxMemorySize is and so is treating it like a class instead of an 
integer-like value.  I've just corrected this.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list