subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1668320 - /subversion/trunk/subversion/libsvn_ra_serf/update.c
Date Sat, 21 Mar 2015 21:09:43 GMT
Author: rhuijben
Date: Sat Mar 21 21:09:42 2015
New Revision: 1668320

URL: http://svn.apache.org/r1668320
Log:
Resolve a minor memory leak against pre 1.5 servers when running update
like operations using ra-serf.

* subversion/libsvn_ra_serf/update.c
  (make_update_reporter): Allocate depth filter in the result pool instead
    of the session pool.

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

Modified: subversion/trunk/subversion/libsvn_ra_serf/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/update.c?rev=1668320&r1=1668319&r2=1668320&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Sat Mar 21 21:09:42 2015
@@ -2759,7 +2759,7 @@ make_update_reporter(svn_ra_session_t *r
                                             update_editor,
                                             update_baton,
                                             depth, has_target,
-                                            sess->pool));
+                                            result_pool));
       update_editor = filter_editor;
       update_baton = filter_baton;
     }



Mime
View raw message