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 2014/03/06 20:16:34 UTC
svn commit: r1575018 - /subversion/trunk/subversion/libsvn_ra_serf/stat.c
Author: rhuijben
Date: Thu Mar 6 19:16:34 2014
New Revision: 1575018
URL: http://svn.apache.org/r1575018
Log:
Duplicate author value in the right pool in ra_serf, when retrieving the
nodes in a directory. Resolves a regression introduced by introducing
scratch pools inside the directory walking code to hold the http state
that used to be in the ra operation result pool.
* subversion/libsvn_ra_serf/stat.c
(dirent_walker): Copy author to result pool.
Found by: steveking
Modified:
subversion/trunk/subversion/libsvn_ra_serf/stat.c
Modified: subversion/trunk/subversion/libsvn_ra_serf/stat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/stat.c?rev=1575018&r1=1575017&r2=1575018&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/stat.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/stat.c Thu Mar 6 19:16:34 2014
@@ -172,7 +172,7 @@ dirent_walker(void *baton,
}
else if (strcmp(name, "creator-displayname") == 0)
{
- dwb->entry->last_author = val->data;
+ dwb->entry->last_author = apr_pstrdup(dwb->result_pool, val->data);
}
else if (strcmp(name, SVN_DAV__CREATIONDATE) == 0)
{