You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2015/01/25 14:53:52 UTC
svn commit: r1654656 - /subversion/trunk/subversion/libsvn_ra_serf/commit.c
Author: rhuijben
Date: Sun Jan 25 13:53:52 2015
New Revision: 1654656
URL: http://svn.apache.org/r1654656
Log:
* subversion/libsvn_ra_serf/commit.c
(create_proppatch_body): Fix usage of the real scratch pool.
Modified:
subversion/trunk/subversion/libsvn_ra_serf/commit.c
Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/commit.c?rev=1654656&r1=1654655&r2=1654656&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/commit.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/commit.c Sun Jan 25 13:53:52 2015
@@ -750,8 +750,6 @@ create_proppatch_body(serf_bucket_t **bk
svn_boolean_t opened = FALSE;
apr_hash_index_t *hi;
- scratch_pool = pool; /*### Should be disabled, but needs review! */
-
body_bkt = serf_bucket_aggregate_create(alloc);
svn_ra_serf__add_xml_header_buckets(body_bkt, alloc);
@@ -782,7 +780,7 @@ create_proppatch_body(serf_bucket_t **bk
}
SVN_ERR(write_prop_xml(ctx, body_bkt, alloc, prop,
- scratch_pool, scratch_pool));
+ pool, scratch_pool));
}
}
@@ -814,7 +812,7 @@ create_proppatch_body(serf_bucket_t **bk
}
SVN_ERR(write_prop_xml(ctx, body_bkt, alloc, prop,
- scratch_pool, scratch_pool));
+ pool, scratch_pool));
}
}