#ifndef SM_LEAKS


#define _WANTNEWS

#if defined(_DEBUG) && defined(_WANTNEWS)
   #include <new>
   #include <memory>   
   #include <crtdbg.h>
   #define _CRTDBG_MAP_ALLOC
   #define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__)
   #define new DEBUG_CLIENTBLOCK

   void operator delete ( void * pData );
#else
   #undef DEBUG_CLIENTBLOCK
#endif // _DEBUG && _WANTNEWS

#endif
