]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3300] Call destructorImpl() in our Appender class's destructor
authorMukund Sivaraman <muks@isc.org>
Wed, 22 Jan 2014 05:08:28 +0000 (10:38 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 22 Jan 2014 05:08:30 +0000 (10:38 +0530)
This is required by the log4cplus library.

src/lib/log/buffer_appender_impl.cc

index 8899c4f7cfc407b9fbfba1e7d8ff710c6dcc82b2..4aa222f3a23706fb7422c79f8200017fde313c44 100644 (file)
@@ -30,6 +30,7 @@ BufferAppender::~BufferAppender() {
     // So dump all that is left to stdout
     try {
         flushStdout();
+        destructorImpl();
     } catch (...) {
         // Ok if we can't even seem to dump to stdout, never mind.
     }