You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/03/04 18:03:55 UTC
svn commit: r919065 - /subversion/trunk/subversion/libsvn_wc/update_editor.c
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));