You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/01/06 02:02:15 UTC

svn commit: r1429449 - /subversion/trunk/subversion/bindings/cxxhl/src/exception.cpp

Author: brane
Date: Sun Jan  6 01:02:14 2013
New Revision: 1429449

URL: http://svn.apache.org/viewvc?rev=1429449&view=rev
Log:
Fix breakage in C++ bindings (fallout of r1426773).
The moral of the story is to not blindly search-and-replace without reading the code.

* subversion/bindings/cxxhl/src/exception.cpp (error::compile_messages):
   Go back to using apr_pool_destroy, not svn_pool_destroy, to balance
   apr_pool_create -- since this source file does not use the svn_pool
   functions at all.

Modified:
    subversion/trunk/subversion/bindings/cxxhl/src/exception.cpp

Modified: subversion/trunk/subversion/bindings/cxxhl/src/exception.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/cxxhl/src/exception.cpp?rev=1429449&r1=1429448&r2=1429449&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/cxxhl/src/exception.cpp (original)
+++ subversion/trunk/subversion/bindings/cxxhl/src/exception.cpp Sun Jan  6 01:02:14 2013
@@ -309,11 +309,11 @@ error::message_list error::compile_messa
     }
   catch (...)
     {
-      svn_pool_destroy(pool);
+      apr_pool_destroy(pool);
       throw;
     }
 
-  svn_pool_destroy(pool);
+  apr_pool_destroy(pool);
   return ml;
 }