subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1668329 - /subversion/trunk/subversion/libsvn_ra_serf/serf.c
Date Sat, 21 Mar 2015 23:32:24 GMT
Author: rhuijben
Date: Sat Mar 21 23:32:24 2015
New Revision: 1668329

URL: http://svn.apache.org/r1668329
Log:
Following up on r1668323, revert regression that the session url is
allocated in the wrong pool.

* subversion/libsvn_ra_serf/serf.c
  (svn_ra_serf__open): Allocate uri result in session pool.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/serf.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/serf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/serf.c?rev=1668329&r1=1668328&r2=1668329&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/serf.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/serf.c Sat Mar 21 23:32:24 2015
@@ -510,7 +510,7 @@ svn_ra_serf__open(svn_ra_session_t *sess
                                        serf_sess->pool));
 
 
-  status = apr_uri_parse(scratch_pool, session_URL, &url);
+  status = apr_uri_parse(serf_sess->pool, session_URL, &url);
   if (status)
     {
       return svn_error_createf(SVN_ERR_RA_ILLEGAL_URL, NULL,



Mime
View raw message