subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1091524 - /subversion/trunk/subversion/libsvn_client/commit_util.c
Date Tue, 12 Apr 2011 18:00:17 GMT
Author: rhuijben
Date: Tue Apr 12 18:00:17 2011
New Revision: 1091524

URL: http://svn.apache.org/viewvc?rev=1091524&view=rev
Log:
* subversion/libsvn_client/commit_util.c
   (harvest_committables): Fix a pool lifetime issue.

Modified:
    subversion/trunk/subversion/libsvn_client/commit_util.c

Modified: subversion/trunk/subversion/libsvn_client/commit_util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/commit_util.c?rev=1091524&r1=1091523&r2=1091524&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/commit_util.c (original)
+++ subversion/trunk/subversion/libsvn_client/commit_util.c Tue Apr 12 18:00:17 2011
@@ -649,7 +649,9 @@ harvest_committables(svn_wc_context_t *w
                          svn_path_url_add_component2(
                              repos_root_url, node_relpath,
                              apr_hash_pool_get(lock_tokens)),
-                         APR_HASH_KEY_STRING, node_lock_token);
+                         APR_HASH_KEY_STRING,
+                         apr_pstrdup(apr_hash_pool_get(lock_tokens),
+                                     node_lock_token));
         }
     }
 



Mime
View raw message