subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r919065 - /subversion/trunk/subversion/libsvn_wc/update_editor.c
Date Thu, 04 Mar 2010 17:03:55 GMT
Author: julianfoad
Date: Thu Mar  4 17:03:54 2010
New Revision: 919065

URL: http://svn.apache.org/viewvc?rev=919065&view=rev
Log:
Fix a theoretical pool-usage bug; no observable effect.

* subversion/libsvn_wc/update_editor.c
  (get_empty_tmp_file): Allocate the file in the result_pool, not the
    scratch_pool.

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

Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=919065&r1=919064&r2=919065&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Thu Mar  4 17:03:54 2010
@@ -429,7 +429,7 @@
   SVN_ERR(svn_wc__db_temp_wcroot_tempdir(&temp_dir_path, db, wri_abspath,
                                          scratch_pool, scratch_pool));
   SVN_ERR(svn_stream_open_unique(&empty_stream, tmp_filename, temp_dir_path,
-                                 svn_io_file_del_none, scratch_pool,
+                                 svn_io_file_del_none, result_pool,
                                  scratch_pool));
   SVN_ERR(svn_stream_close(empty_stream));
 



Mime
View raw message