Author: rhuijben
Date: Tue May 3 17:29:13 2011
New Revision: 1099145
URL: http://svn.apache.org/viewvc?rev=1099145&view=rev
Log:
* subversion/libsvn_wc/update_editor.c
(close_file): Don't use a baton after the pool which contains this baton
is destroyed.
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=1099145&r1=1099144&r2=1099145&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Tue May 3 17:29:13
2011
@@ -3530,8 +3530,8 @@ close_file(void *file_baton,
if (fb->skip_this)
{
- svn_pool_destroy(fb->pool);
SVN_ERR(maybe_release_dir_info(fb->bump_info));
+ svn_pool_destroy(fb->pool);
return SVN_NO_ERROR;
}
@@ -3982,11 +3982,11 @@ close_file(void *file_baton,
eb->notify_func(eb->notify_baton, notify, scratch_pool);
}
- svn_pool_destroy(fb->pool); /* Destroy scratch_pool */
-
/* We have one less referrer to the directory's bump information. */
SVN_ERR(maybe_release_dir_info(fb->bump_info));
+ svn_pool_destroy(fb->pool); /* Destroy scratch_pool */
+
return SVN_NO_ERROR;
}