subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kot...@apache.org
Subject svn commit: r1759404 - /subversion/trunk/subversion/libsvn_fs_fs/pack.c
Date Tue, 06 Sep 2016 10:14:08 GMT
Author: kotkov
Date: Tue Sep  6 10:14:08 2016
New Revision: 1759404

URL: http://svn.apache.org/viewvc?rev=1759404&view=rev
Log:
* subversion/libsvn_fs_fs/pack.c
  (pack_phys_addressed): Use an iterpool to create a temporary svn_stream_t
   in the per-revision loop.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/pack.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/pack.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/pack.c?rev=1759404&r1=1759403&r2=1759404&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/pack.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/pack.c Tue Sep  6 10:14:08 2016
@@ -1748,7 +1748,8 @@ pack_phys_addressed(const char *pack_fil
       /* Copy all the bits from the rev file to the end of the pack file. */
       SVN_ERR(svn_stream_open_readonly(&rev_stream, path, iterpool, iterpool));
       SVN_ERR(svn_stream_copy3(rev_stream,
-                               svn_stream_from_aprfile2(pack_file, TRUE, pool),
+                               svn_stream_from_aprfile2(pack_file, TRUE,
+                                                        iterpool),
                                cancel_func, cancel_baton, iterpool));
     }
 



Mime
View raw message