subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1499611 - /subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp
Date Thu, 04 Jul 2013 01:08:06 GMT
Author: brane
Date: Thu Jul  4 01:08:05 2013
New Revision: 1499611

URL: http://svn.apache.org/r1499611
Log:
Fix a pool lifetime bug in JavaHL.

* subversion/bindings/javahl/native/RemoteSession.cpp
  (status_fetch_props_func): Create the returned hash table in the result pool.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp?rev=1499611&r1=1499610&r2=1499611&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp Thu Jul  4 01:08:05
2013
@@ -660,7 +660,7 @@ status_fetch_props_func(apr_hash_t **pro
 {
   //DEBUG:fprintf(stderr, "  (n) status_fetch_props_func('%s', r%lld)\n",
   //DEBUG:        path, static_cast<long long>(base_revision));
-  *props = apr_hash_make(scratch_pool);
+  *props = apr_hash_make(result_pool);
   return SVN_NO_ERROR;
 }
 



Mime
View raw message