subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1584354 - /subversion/trunk/subversion/libsvn_repos/config_pool.c
Date Thu, 03 Apr 2014 19:46:53 GMT
Author: stefan2
Date: Thu Apr  3 19:46:52 2014
New Revision: 1584354

URL: http://svn.apache.org/r1584354
Log:
Fix APR memory pool usage issue in config_pool.

* subversion/libsvn_repos/config_pool.c
  (auto_parse): Results must be allocated in the RESULT_POOL.

Modified:
    subversion/trunk/subversion/libsvn_repos/config_pool.c

Modified: subversion/trunk/subversion/libsvn_repos/config_pool.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/config_pool.c?rev=1584354&r1=1584353&r2=1584354&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/config_pool.c (original)
+++ subversion/trunk/subversion/libsvn_repos/config_pool.c Thu Apr  3 19:46:52 2014
@@ -205,7 +205,7 @@ auto_parse(svn_config_t **cfg,
                    &checksum, NULL, svn_checksum_sha1, TRUE, scratch_pool)));
 
   /* return reference to suitable config object if that already exists */
-  *key = checksum_as_key(checksum, scratch_pool);
+  *key = checksum_as_key(checksum, result_pool);
   SVN_ERR(svn_object_pool__lookup((void **)cfg, config_pool->object_pool,
                                   *key, &case_sensitive, result_pool));
   if (*cfg)



Mime
View raw message