Author: julianfoad
Date: Wed May 8 19:27:35 2013
New Revision: 1480416
URL: http://svn.apache.org/r1480416
Log:
Fix a dormant pool usage bug that I introduced in r1149264 and
partially fixed in r1159672. The current callers were all safe.
* subversion/libsvn_client/repos_diff.c
(get_file_from_ra): Allocate the checksum result in 'fb->pool', not in
'scratch_pool'.
Modified:
subversion/trunk/subversion/libsvn_client/repos_diff.c
Modified: subversion/trunk/subversion/libsvn_client/repos_diff.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/repos_diff.c?rev=1480416&r1=1480415&r2=1480416&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/repos_diff.c (original)
+++ subversion/trunk/subversion/libsvn_client/repos_diff.c Wed May 8 19:27:35
2013
@@ -328,7 +328,7 @@ get_file_from_ra(struct file_baton *fb,
fb->pool, scratch_pool));
fstream = svn_stream_checksummed2(fstream, NULL, &fb->start_md5_checksum,
- svn_checksum_md5, TRUE, scratch_pool);
+ svn_checksum_md5, TRUE, fb->pool);
/* Retrieve the file and its properties */
SVN_ERR(svn_ra_get_file(fb->edit_baton->ra_session,