You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Roman Yakovenko <ro...@actimize.com> on 2004/05/23 07:26:26 UTC

memory leaks.

Hi. I am using log4cxx 0.97 + MS Visual Studio 71. + WinXP.
I have memory leaks. I am almost sure that they are within log4cxx, although I would like to be wrong. 
How do I know ? I am using unicode + dll configuration. Accross my project I use LOG4CXX_DEBUG macro only.
I redefined this macro as 

LOG4CXX_DEBUG( Y, X ) std::wcout << X;

And memory leaks gone. Also I can't reproduce those leaks in some simple
test case. I changed all destructors to be virtual. It does not help.

If you have some idea - I will test it.

Thanks for help.

Roman