[wx-dev] No debugging "new" and memory leak in hash.cpp
Manuel Martín
mmartin at ceyd.es
Thu Jun 5 12:10:44 PDT 2008
Hi
>However I was also getting lots of leaks from wxWidgets itself.
>
>15:17:43: wxWidgets over/underwrite memory error:
>15:17:43: ..\..\src\common\hash.cpp(735): non-object data at 0x394208,
>size 6
>15:17:43: wxWidgets over/underwrite memory error:
>15:17:43: ..\..\src\common\hash.cpp(735): non-object data at 0x394208,
>size 6
These 'leaks' are written from common\memory.cpp line 382 because it
detects 'new' is not been used for a wxObject
Now I use MSS (get a look a nvwa too) for detecting memory leaks and I
can confirm wx has none.
On other subject, because of using this tool, I can see there's a lot
of initialization on wx itself (in spite some classes are not used in my
own code: OLE, IP, etc). And some are only deleted just at end, perhaps
too late for the memory-tool.
HTH
Manolo
More information about the wx-dev
mailing list