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 mc...@apache.org on 2004/05/20 09:13:32 UTC
cvs commit: logging-log4cxx/examples trivial.cpp
mcatan 2004/05/20 00:13:32
Modified: examples trivial.cpp
Log:
fixed memory leak
Revision Changes Path
1.5 +2 -0 logging-log4cxx/examples/trivial.cpp
Index: trivial.cpp
===================================================================
RCS file: /home/cvs/logging-log4cxx/examples/trivial.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- trivial.cpp 22 Apr 2004 21:21:29 -0000 1.4
+++ trivial.cpp 20 May 2004 07:13:31 -0000 1.5
@@ -38,6 +38,8 @@
rootLogger->warn(_T("warn message"));
rootLogger->error(_T("error message"));
rootLogger->fatal(_T("fatal message"));
+
+ NDC::pop();
}
catch(Exception&)
{