[vtkusers] Adding memory leak detection code to wxVTKRenderWindowInteractor shows error!

Nelson gnjoseph at gmail.com
Sat Jan 7 01:58:16 EST 2012


Dear All,

After searching mailing list, I found that VTK does not have three argument
*operator new*

Since I am using wxWidgets as GUI, I have to finde where the memory leaks
occurs. so I am using the following code:
#ifdef _DEBUG 
        #include <crtdbg.h>
        #define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__) 
        #define new DEBUG_NEW 
#else 
        #define DEBUG_NEW new 
#endif 

Can anyone suggest me that how to resolve this?


-----
Regards,
Nelson
--
View this message in context: http://vtk.1045678.n5.nabble.com/Adding-memory-leak-detection-code-to-wxVTKRenderWindowInteractor-shows-error-tp5122248p5127310.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list