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/03/22 00:32:24 UTC

svn commit: r1668329 - /subversion/trunk/subversion/libsvn_ra_serf/serf.c

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,