subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1458341 - /subversion/trunk/subversion/libsvn_ra_svn/client.c
Date Tue, 19 Mar 2013 15:36:55 GMT
Author: philip
Date: Tue Mar 19 15:36:55 2013
New Revision: 1458341

URL: http://svn.apache.org/r1458341
Log:
Fix issue 4337, client memory leak in "svn log" for ra_svn.

* subversion/libsvn_ra_svn/client.c
  (ra_svn_log): Use iteration pool in loop.

Modified:
    subversion/trunk/subversion/libsvn_ra_svn/client.c

Modified: subversion/trunk/subversion/libsvn_ra_svn/client.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_svn/client.c?rev=1458341&r1=1458340&r2=1458341&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_svn/client.c (original)
+++ subversion/trunk/subversion/libsvn_ra_svn/client.c Tue Mar 19 15:36:55 2013
@@ -1641,10 +1641,10 @@ static svn_error_t *ra_svn_log(svn_ra_se
           log_entry->has_children = has_children;
           log_entry->subtractive_merge = subtractive_merge;
           if (rplist)
-            SVN_ERR(svn_ra_svn_parse_proplist(rplist, pool,
+            SVN_ERR(svn_ra_svn_parse_proplist(rplist, iterpool,
                                               &log_entry->revprops));
           if (log_entry->revprops == NULL)
-            log_entry->revprops = apr_hash_make(pool);
+            log_entry->revprops = apr_hash_make(iterpool);
           if (revprops == NULL)
             {
               /* Caller requested all revprops; set author/date/log. */



Mime
View raw message