You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/01/17 21:58:09 UTC

svn commit: r1652675 - /subversion/trunk/subversion/libsvn_fs_x/tree.c

Author: stefan2
Date: Sat Jan 17 20:58:09 2015
New Revision: 1652675

URL: http://svn.apache.org/r1652675
Log:
* subversion/libsvn_fs_x/tree.c
  (x_get_file_delta_stream): Actually use the SCRATCH_POOL.

Modified:
    subversion/trunk/subversion/libsvn_fs_x/tree.c

Modified: subversion/trunk/subversion/libsvn_fs_x/tree.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/tree.c?rev=1652675&r1=1652674&r2=1652675&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/tree.c Sat Jan 17 20:58:09 2015
@@ -3231,10 +3231,10 @@ x_get_file_delta_stream(svn_txdelta_stre
   apr_pool_t *scratch_pool = svn_pool_create(pool);
 
   if (source_root && source_path)
-    SVN_ERR(get_dag(&source_node, source_root, source_path, pool));
+    SVN_ERR(get_dag(&source_node, source_root, source_path, scratch_pool));
   else
     source_node = NULL;
-  SVN_ERR(get_dag(&target_node, target_root, target_path, pool));
+  SVN_ERR(get_dag(&target_node, target_root, target_path, scratch_pool));
 
   /* Create a delta stream that turns the source into the target.  */
   SVN_ERR(svn_fs_x__dag_get_file_delta_stream(stream_p, source_node,