static "cleanup phase" problems

2005-10-18 Thread Mihai Rusu
Hi there I have a program that defines some static objects which are derived from a class that contains a log4cxx::LogPtr member (as I noticed this somehow emulates Java's referenced counting for object references). When the program exits (when the exit codes call the object destructors for th

Memory leak with ThreadSpecificData

2005-10-18 Thread Steindl Christian
Hi, I use the VLD (visual leak detector) with my applications and log4cxx and noticed quite some memory leaks. Well, in my specific application a huge number of threads might be spawn in the course of time. Is there a way to get rid of the ThreadSpecificData again? My application runs on Win32, an