subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1654656 - /subversion/trunk/subversion/libsvn_ra_serf/commit.c
Date Sun, 25 Jan 2015 13:53:52 GMT
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));
         }
     }
 



Mime
View raw message