[Chandler-dev] Memory leaks in Chandler

Robin Dunn robin at alldunn.com
Wed Jun 6 16:48:40 PDT 2007


Heikki Toivonen wrote:

> ==9340== 75 (12 direct, 63 indirect) bytes in 1 blocks are definitely
> lost in loss record 130 of 641
> ==9340==    at 0x401CC6B: operator new[](unsigned) (vg_replace_malloc.c:197)
> ==9340==    by 0x6DA5FDC: wxPyApp::_BootstrapApp() (helpers.cpp:445)
> ==9340==    by 0x6DFDA39: _wrap_PyApp__BootstrapApp (_core_wrap.cpp:31478)

This one is an array for the command-line args to pass to wxWidgets 
initialization functions.  It needs to exist for the life of the app so 
I don't bother to delete it.

> 
> ==9340== 32 bytes in 2 blocks are definitely lost in loss record 250 of 641
> ==9340==    at 0x401CC6B: operator new[](unsigned) (vg_replace_malloc.c:197)
> ==9340==    by 0x6DA9AA7: wxAcceleratorEntry_LIST_helper(_object*)
> (helpers.cpp:2386)
> ==9340==    by 0x6E0019C: _wrap_new_AcceleratorTable (_core_wrap.cpp:32510)

I'll check into this one.

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



More information about the chandler-dev mailing list