subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r958946 - /subversion/trunk/subversion/libsvn_wc/adm_files.c
Date Tue, 29 Jun 2010 12:24:40 GMT
Author: julianfoad
Date: Tue Jun 29 12:24:40 2010
New Revision: 958946

URL: http://svn.apache.org/viewvc?rev=958946&view=rev
Log:
* subversion/libsvn_wc/adm_files.c
  (svn_wc__get_ultimate_base_checksums): Fix a pool bug: allocate
    the results in the result pool.

Modified:
    subversion/trunk/subversion/libsvn_wc/adm_files.c

Modified: subversion/trunk/subversion/libsvn_wc/adm_files.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_files.c?rev=958946&r1=958945&r2=958946&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_files.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_files.c Tue Jun 29 12:24:40 2010
@@ -603,7 +603,7 @@ svn_wc__get_ultimate_base_checksums(cons
                                  NULL, NULL, NULL, NULL, NULL, &checksum,
                                  NULL, NULL, NULL,
                                  db, local_abspath,
-                                 scratch_pool, scratch_pool);
+                                 result_pool, scratch_pool);
   if ((err && err->apr_err == SVN_ERR_WC_PATH_NOT_FOUND)
       || checksum == NULL)
     {
@@ -622,14 +622,14 @@ svn_wc__get_ultimate_base_checksums(cons
       if (md5_checksum)
         SVN_ERR(svn_wc__db_pristine_get_md5(md5_checksum, db, local_abspath,
                                             checksum,
-                                            scratch_pool, scratch_pool));
+                                            result_pool, scratch_pool));
     }
   else
     {
       if (sha1_checksum)
         SVN_ERR(svn_wc__db_pristine_get_sha1(sha1_checksum, db, local_abspath,
                                              checksum,
-                                             scratch_pool, scratch_pool));
+                                             result_pool, scratch_pool));
       if (md5_checksum)
         *md5_checksum = checksum;
     }



Mime
View raw message