[thread]MFC based console application cause memory leak?

I’ve written a MFC based console application to test boost.thread library.
However, IDE suggested that there are memory leaks in the program. All that I’
ve done is creating a class A which implements operator () and declared an
instance of boost::thread which make use of A. How can that make memory leak?
My IDE is vs.net 2003 and my OS is windows xp sp1.
My code is as follows:
// threadmemleak.cpp :
//
#include "stdafx.h"
#include "threadmemleak.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
#include

Christian Henning wrote:
This is an issue poping up from time to time. I believe there was a fix but I'm not sure if was added to CVS? Anyone?
It was: http://boost.cvs.sourceforge.net/boost/boost/libs/thread/src/tss_hooks.cpp?v...
participants (4)
-
Christian Henning
-
Johan Nilsson
-
Peter Dimov
-
tankbattle