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 rh...@apache.org on 2014/02/12 04:30:34 UTC

svn commit: r1567511 - /incubator/log4cxx/trunk/src/main/cpp/aprinitializer.cpp

Author: rhys
Date: Wed Feb 12 03:30:33 2014
New Revision: 1567511

URL: http://svn.apache.org/r1567511
Log:
LOG4CXX-320: Correct apr_threadkey_private_delete

Change in r1566664 missed an argument to the method.

Modified:
    incubator/log4cxx/trunk/src/main/cpp/aprinitializer.cpp

Modified: incubator/log4cxx/trunk/src/main/cpp/aprinitializer.cpp
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/cpp/aprinitializer.cpp?rev=1567511&r1=1567510&r2=1567511&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/main/cpp/aprinitializer.cpp (original)
+++ incubator/log4cxx/trunk/src/main/cpp/aprinitializer.cpp Wed Feb 12 03:30:33 2014
@@ -57,7 +57,7 @@ APRInitializer::~APRInitializer() {
     {
 #if APR_HAS_THREADS
         synchronized sync(mutex);
-        apr_threadkey_private_delete();
+        apr_threadkey_private_delete(tlsKey);
 #endif
         for(std::vector<FileWatchdog*>::iterator iter = watchdogs.begin();
             iter != watchdogs.end();